change sqs
This commit is contained in:
parent
8133d286a4
commit
d81eecf048
@ -171,8 +171,8 @@ mcp:
|
|||||||
separate: false
|
separate: false
|
||||||
|
|
||||||
aws:
|
aws:
|
||||||
aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingle.fifo
|
aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingledata.fifo
|
||||||
push-aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingle.fifo
|
push-aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingledata.fifo
|
||||||
aws-sqs-access-key: AKIAUWKJ5EVVM2APLKGR
|
aws-sqs-access-key: AKIAUWKJ5EVVM2APLKGR
|
||||||
aws-sqs-secret-key: JYJRe2S1vpQvbrzy8gVp5OABXoJVZXePnwvCbhKe
|
aws-sqs-secret-key: JYJRe2S1vpQvbrzy8gVp5OABXoJVZXePnwvCbhKe
|
||||||
sqs-region: ""
|
sqs-region: ""
|
||||||
|
|||||||
@ -171,8 +171,8 @@ mcp:
|
|||||||
separate: false
|
separate: false
|
||||||
|
|
||||||
aws:
|
aws:
|
||||||
aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingle.fifo
|
aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingledata.fifo
|
||||||
push-aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingle.fifo
|
push-aws-sqs-url: https://sqs.ap-east-1.amazonaws.com/322814420330/boyingledata.fifo
|
||||||
aws-sqs-access-key: AKIAUWKJ5EVVM2APLKGR
|
aws-sqs-access-key: AKIAUWKJ5EVVM2APLKGR
|
||||||
aws-sqs-secret-key: JYJRe2S1vpQvbrzy8gVp5OABXoJVZXePnwvCbhKe
|
aws-sqs-secret-key: JYJRe2S1vpQvbrzy8gVp5OABXoJVZXePnwvCbhKe
|
||||||
sqs-region: ""
|
sqs-region: ""
|
||||||
|
|||||||
@ -1,15 +0,0 @@
|
|||||||
[bygdata]2026-02-02 16:39:03.554 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/router.go:75 register swagger handler
|
|
||||||
[bygdata]2026-02-02 16:39:03.584 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/plugin.go:10 项目暂未初始化,无法安装插件,初始化后重启项目即可完成插件安装
|
|
||||||
[bygdata]2026-02-02 16:39:03.585 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/router.go:129 router register success
|
|
||||||
[bygdata]2026-02-02 16:40:18.841 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/core/server_run.go:48 关闭WEB服务...
|
|
||||||
[bygdata]2026-02-02 16:40:18.843 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/core/server_run.go:59 WEB服务已关闭
|
|
||||||
[bygdata]2026-02-02 16:40:25.142 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/router.go:75 register swagger handler
|
|
||||||
[bygdata]2026-02-02 16:40:25.171 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/plugin.go:10 项目暂未初始化,无法安装插件,初始化后重启项目即可完成插件安装
|
|
||||||
[bygdata]2026-02-02 16:40:25.171 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/router.go:129 router register success
|
|
||||||
[bygdata]2026-02-02 16:40:44.437 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/core/server_run.go:48 关闭WEB服务...
|
|
||||||
[bygdata]2026-02-02 16:40:44.438 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/core/server_run.go:59 WEB服务已关闭
|
|
||||||
[bygdata]2026-02-02 16:40:50.523 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/router.go:75 register swagger handler
|
|
||||||
[bygdata]2026-02-02 16:40:50.557 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/plugin.go:10 项目暂未初始化,无法安装插件,初始化后重启项目即可完成插件安装
|
|
||||||
[bygdata]2026-02-02 16:40:50.559 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/initialize/router.go:129 router register success
|
|
||||||
[bygdata]2026-02-02 16:41:00.505 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/core/server_run.go:48 关闭WEB服务...
|
|
||||||
[bygdata]2026-02-02 16:41:00.506 [34minfo[0m /Users/liuzhiwang/go-project/src/gitlab.xunlei.cn/xacc/bygdata/core/server_run.go:59 WEB服务已关闭
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
[bygdata]2026-02-04 01:21:03.111 [31merror[0m /home/ubuntu/workspace/bygdata/api/v1/system/sys_user.go:68 登陆失败! 用户名不存在或者密码错误! {"error": "record not found"}
|
|
||||||
bygdata/api/v1/system.(*BaseApi).Login
|
|
||||||
/home/ubuntu/workspace/bygdata/api/v1/system/sys_user.go:68
|
|
||||||
github.com/gin-gonic/gin.(*Context).Next
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
|
|
||||||
github.com/gin-gonic/gin.LoggerWithConfig.func1
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
|
|
||||||
github.com/gin-gonic/gin.(*Context).Next
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
|
|
||||||
bygdata/initialize.Routers.GinRecovery.func4
|
|
||||||
/home/ubuntu/workspace/bygdata/middleware/error.go:78
|
|
||||||
github.com/gin-gonic/gin.(*Context).Next
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
|
|
||||||
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
|
|
||||||
github.com/gin-gonic/gin.(*Engine).ServeHTTP
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
|
|
||||||
net/http.serverHandler.ServeHTTP
|
|
||||||
/home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.linux-amd64/src/net/http/server.go:3301
|
|
||||||
net/http.(*conn).serve
|
|
||||||
/home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.linux-amd64/src/net/http/server.go:2102
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
[bygdata]2026-02-04 01:07:34.733 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/gorm.go:84 register table success
|
|
||||||
[bygdata]2026-02-04 01:07:34.735 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/router.go:75 register swagger handler
|
|
||||||
[bygdata]2026-02-04 01:07:34.831 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/router.go:129 router register success
|
|
||||||
[bygdata]2026-02-04 01:20:14.169 [34minfo[0m /home/ubuntu/workspace/bygdata/core/server_run.go:48 关闭WEB服务...
|
|
||||||
[bygdata]2026-02-04 01:20:14.172 [34minfo[0m /home/ubuntu/workspace/bygdata/core/server_run.go:59 WEB服务已关闭
|
|
||||||
[bygdata]2026-02-04 01:20:41.867 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/gorm.go:84 register table success
|
|
||||||
[bygdata]2026-02-04 01:20:41.868 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/router.go:75 register swagger handler
|
|
||||||
[bygdata]2026-02-04 01:20:41.897 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/router.go:129 router register success
|
|
||||||
[bygdata]2026-02-04 01:21:05.419 [34minfo[0m /home/ubuntu/workspace/bygdata/api/v1/system/sys_initdb.go:57 数据库无需初始化
|
|
||||||
[bygdata]2026-02-04 01:23:12.576 [34minfo[0m /home/ubuntu/workspace/bygdata/core/server_run.go:48 关闭WEB服务...
|
|
||||||
[bygdata]2026-02-04 01:23:12.577 [34minfo[0m /home/ubuntu/workspace/bygdata/core/server_run.go:59 WEB服务已关闭
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
[bygdata]2026-02-05 05:11:15.206 [31merror[0m /home/ubuntu/workspace/bygdata/api/v1/system/sys_user.go:68 登陆失败! 用户名不存在或者密码错误! {"error": "record not found"}
|
|
||||||
bygdata/api/v1/system.(*BaseApi).Login
|
|
||||||
/home/ubuntu/workspace/bygdata/api/v1/system/sys_user.go:68
|
|
||||||
github.com/gin-gonic/gin.(*Context).Next
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
|
|
||||||
github.com/gin-gonic/gin.LoggerWithConfig.func1
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
|
|
||||||
github.com/gin-gonic/gin.(*Context).Next
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
|
|
||||||
bygdata/initialize.Routers.GinRecovery.func4
|
|
||||||
/home/ubuntu/workspace/bygdata/middleware/error.go:78
|
|
||||||
github.com/gin-gonic/gin.(*Context).Next
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
|
|
||||||
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
|
|
||||||
github.com/gin-gonic/gin.(*Engine).ServeHTTP
|
|
||||||
/home/ubuntu/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
|
|
||||||
net/http.serverHandler.ServeHTTP
|
|
||||||
/home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.linux-amd64/src/net/http/server.go:3301
|
|
||||||
net/http.(*conn).serve
|
|
||||||
/home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.linux-amd64/src/net/http/server.go:2102
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
[bygdata]2026-02-05 05:10:14.085 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/gorm.go:84 register table success
|
|
||||||
[bygdata]2026-02-05 05:10:14.086 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/router.go:75 register swagger handler
|
|
||||||
[bygdata]2026-02-05 05:10:14.114 [34minfo[0m /home/ubuntu/workspace/bygdata/initialize/router.go:129 router register success
|
|
||||||
[bygdata]2026-02-05 05:12:54.297 [34minfo[0m /home/ubuntu/workspace/bygdata/core/server_run.go:48 关闭WEB服务...
|
|
||||||
[bygdata]2026-02-05 05:12:54.297 [34minfo[0m /home/ubuntu/workspace/bygdata/core/server_run.go:59 WEB服务已关闭
|
|
||||||
3
main.go
3
main.go
@ -1,6 +1,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"bygdata/api/v1/sqs"
|
||||||
"bygdata/core"
|
"bygdata/core"
|
||||||
"bygdata/global"
|
"bygdata/global"
|
||||||
"bygdata/initialize"
|
"bygdata/initialize"
|
||||||
@ -47,7 +48,7 @@ func initializeSystem() {
|
|||||||
initialize.DBList()
|
initialize.DBList()
|
||||||
initialize.SetupHandlers() // 注册全局函数
|
initialize.SetupHandlers() // 注册全局函数
|
||||||
|
|
||||||
//sqs.ProcessSqsMessage() // 消息队列
|
go sqs.ProcessSqsMessage() // 消息队列
|
||||||
|
|
||||||
if global.GVA_DB != nil {
|
if global.GVA_DB != nil {
|
||||||
initialize.RegisterTables() // 初始化表
|
initialize.RegisterTables() // 初始化表
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user