🎨 修改文章和收藏
This commit is contained in:
parent
c4548fe498
commit
8c5386cb2c
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.idea/
|
||||
log
|
@ -2,10 +2,13 @@ package system
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"miniapp/api"
|
||||
"miniapp/global"
|
||||
"miniapp/model/app"
|
||||
"miniapp/model/common"
|
||||
"miniapp/model/common/request"
|
||||
r "miniapp/model/common/response"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
type ArticleApi struct{}
|
||||
@ -95,7 +98,11 @@ func (a ArticleApi) GetArticleById(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
article, err := articleService.GetArticleById(Id)
|
||||
// 获取用户信息
|
||||
var user app.User
|
||||
api.GetUser(ctx, &user, false, true)
|
||||
|
||||
article, err := articleService.GetArticleById(Id, strconv.Itoa(int(user.ID)))
|
||||
if err != nil {
|
||||
global.GVA_LOG.Error("获取失败" + err.Error())
|
||||
r.FailWithMessage("获取失败"+err.Error(), ctx)
|
||||
|
@ -1,60 +0,0 @@
|
||||
[miniapp]2023/10/11 - 12:17:48.633 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/sys_user.go:56 登陆失败! 用户名不存在或者密码错误! {"error": "db not init"}
|
||||
[miniapp]2023/10/11 - 12:49:14.470 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 12:49:32.985 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 14:32:21.261 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 14:32:27.921 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 15:44:36.062 [31merror[0m C:/Users/Administrator/Desktop/server/utils/upload/aliyun_oss.go:36 function formUploader.Put() Failed {"err": "oss: service returned error: StatusCode=400, ErrorCode=InvalidObjectName, ErrorMessage=\"The specified object is not valid.\", RequestId=652652648915C63137533C77, Ec=0016-00000005"}
|
||||
[miniapp]2023/10/11 - 15:45:18.933 [31merror[0m C:/Users/Administrator/Desktop/server/utils/upload/aliyun_oss.go:36 function formUploader.Put() Failed {"err": "oss: service returned error: StatusCode=400, ErrorCode=InvalidObjectName, ErrorMessage=\"The specified object is not valid.\", RequestId=6526528FB6896C32324B0C23, Ec=0016-00000005"}
|
||||
[miniapp]2023/10/11 - 21:30:35.072 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 21:30:35.762 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 21:30:35.765 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 21:49:13.118 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 21:49:14.248 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 21:49:14.250 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 21:51:29.980 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 21:51:29.985 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 21:54:28.032 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 21:54:28.659 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 21:54:28.661 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 21:57:19.306 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 21:57:19.306 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 21:57:19.308 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:03:03.529 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 22:03:49.141 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 22:03:49.777 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:03:49.780 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:04:26.159 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 22:04:26.818 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:04:26.820 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:08:39.077 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 22:08:45.745 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:08:45.745 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:08:45.745 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 22:08:45.748 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:08:45.749 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:08:46.369 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:08:46.371 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:11:23.107 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:11:23.110 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:13:36.214 [31merror[0m C:/Users/Administrator/Desktop/server/utils/clamis.go:15 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
|
||||
[miniapp]2023/10/11 - 22:13:36.216 [31merror[0m C:/Users/Administrator/Desktop/server/middleware/operation.go:123 create operation record error: {"error": "Error 1406 (22001): Data too long for column 'agent' at row 1"}
|
||||
[miniapp]2023/10/11 - 22:14:59.957 [31merror[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:70 register table failed {"error": "Error 1069 (42000): Too many keys specified; max 64 keys allowed"}
|
||||
[miniapp]2023/10/11 - 22:15:41.382 [31merror[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:70 register table failed {"error": "Error 1069 (42000): Too many keys specified; max 64 keys allowed"}
|
||||
[miniapp]2023/10/11 - 22:36:29.260 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 清理失败,跳过清理
|
||||
[miniapp]2023/10/11 - 22:36:29.261 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: context canceled
|
||||
[miniapp]2023/10/11 - 22:41:42.786 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 22:47:14.886 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:00:58.398 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 23:00:59.633 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 23:00:59.633 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/10/11 - 23:01:00.334 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:01:14.971 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:01:25.497 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:04:12.045 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:15:08.506 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:15:16.620 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:17:51.189 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:18:17.252 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:18:51.753 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:19:55.688 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
||||
[miniapp]2023/10/11 - 23:24:59.675 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: Client authentication failed
|
@ -1,95 +0,0 @@
|
||||
[miniapp]2023/10/11 - 12:17:24.308 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:44 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:17:24.316 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:81 router register success
|
||||
[miniapp]2023/10/11 - 12:17:24.318 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:17:59.631 [34minfo[0m C:/Users/Administrator/Desktop/server/api/v1/system/sys_initdb.go:57 前往初始化数据库
|
||||
[miniapp]2023/10/11 - 12:22:36.247 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:22:36.248 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:22:36.249 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:44 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:22:36.249 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:81 router register success
|
||||
[miniapp]2023/10/11 - 12:22:36.257 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:26:26.104 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:26:26.105 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:26:26.106 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:44 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:26:26.106 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:81 router register success
|
||||
[miniapp]2023/10/11 - 12:26:26.120 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:28:21.674 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/api/v1/system/sys_initdb.go:57 数据库无需初始化
|
||||
[miniapp]2023/10/11 - 12:28:42.802 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/api/v1/system/sys_initdb.go:57 数据库无需初始化
|
||||
[miniapp]2023/10/11 - 12:29:07.498 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:29:07.505 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:44 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:29:07.505 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:81 router register success
|
||||
[miniapp]2023/10/11 - 12:29:07.515 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:29:15.197 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/api/v1/system/sys_initdb.go:57 前往初始化数据库
|
||||
[miniapp]2023/10/11 - 12:31:44.363 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:31:44.365 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:31:44.365 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:44 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:31:44.366 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:81 router register success
|
||||
[miniapp]2023/10/11 - 12:31:44.380 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:36:28.127 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:36:28.128 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:36:28.128 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:44 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:36:28.129 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/initialize/router.go:81 router register success
|
||||
[miniapp]2023/10/11 - 12:36:28.139 [34minfo[0m D:/GOPATH/pkg/mod/miniapp@v0.0.0-20231010105746-b3dbb8d4be1f/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:40:59.510 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:41:36.502 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:41:36.504 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:41:36.505 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:41:36.505 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:85 router register success
|
||||
[miniapp]2023/10/11 - 12:41:36.518 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:47:37.733 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:47:37.735 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:47:37.736 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:47:37.736 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:85 router register success
|
||||
[miniapp]2023/10/11 - 12:47:37.745 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:48:02.622 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:48:02.624 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:48:02.625 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:48:02.626 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:85 router register success
|
||||
[miniapp]2023/10/11 - 12:48:02.633 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:48:47.654 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:48:47.659 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:48:47.660 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:48:47.660 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:85 router register success
|
||||
[miniapp]2023/10/11 - 12:48:47.676 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 12:51:25.617 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 12:51:25.619 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 12:51:25.620 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 12:51:25.621 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:85 router register success
|
||||
[miniapp]2023/10/11 - 12:51:25.631 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 14:46:18.358 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 14:46:18.361 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 14:46:18.362 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 14:47:00.201 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:63 register table success
|
||||
[miniapp]2023/10/11 - 14:47:00.204 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 14:47:00.205 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 14:47:00.205 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 14:47:00.219 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 14:53:02.134 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/11 - 14:53:02.137 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 14:53:02.137 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 14:53:02.138 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 14:53:02.150 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 15:00:11.005 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/11 - 15:00:11.008 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 15:00:11.008 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 15:00:11.009 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 15:00:11.023 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 15:41:43.799 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/11 - 15:41:43.802 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 15:41:43.802 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 15:41:43.803 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 15:41:43.814 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 22:16:48.448 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/11 - 22:16:48.451 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 22:16:48.451 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 22:16:48.452 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 22:16:48.456 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 23:23:50.878 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/11 - 23:23:50.880 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 23:23:50.881 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 23:23:50.881 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 23:23:50.890 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/11 - 23:24:18.312 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/11 - 23:24:18.315 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/11 - 23:24:18.315 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/11 - 23:24:18.316 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/11 - 23:24:18.321 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
@ -1 +0,0 @@
|
||||
[miniapp]2023/10/11 - 12:40:59.513 [31mpanic[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:71 OAuth2服务启动失败[Client信息拉取失败]: Error 1146 (42S02): Table 'jm_wechat2.t_oauth2_client' doesn't exist
|
@ -1,17 +0,0 @@
|
||||
[miniapp]2023/10/12 - 20:49:24.766 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/12 - 20:49:24.798 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/12 - 20:49:24.842 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/12 - 20:49:24.849 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/12 - 20:49:24.856 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/12 - 20:49:24.863 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/12 - 20:49:24.893 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 清理失败,跳过清理
|
||||
[miniapp]2023/10/12 - 20:49:24.894 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 收到未定义的登录错误: context canceled
|
||||
[miniapp]2023/10/12 - 21:12:02.597 [31merror[0m C:/Users/Administrator/Desktop/server/utils/upload/aliyun_oss.go:36 function formUploader.Put() Failed {"err": "oss: service returned error: StatusCode=400, ErrorCode=InvalidObjectName, ErrorMessage=\"The specified object is not valid.\", RequestId=6527F0A3A3A9C63939913609, Ec=0016-00000005"}
|
||||
[miniapp]2023/10/12 - 21:12:50.260 [31merror[0m C:/Users/Administrator/Desktop/server/utils/upload/aliyun_oss.go:36 function formUploader.Put() Failed {"err": "oss: service returned error: StatusCode=400, ErrorCode=InvalidObjectName, ErrorMessage=\"The specified object is not valid.\", RequestId=6527F0D3A3A9C63230926B09, Ec=0016-00000005"}
|
||||
[miniapp]2023/10/12 - 21:12:52.879 [31merror[0m C:/Users/Administrator/Desktop/server/utils/upload/aliyun_oss.go:36 function formUploader.Put() Failed {"err": "oss: service returned error: StatusCode=400, ErrorCode=InvalidObjectName, ErrorMessage=\"The specified object is not valid.\", RequestId=6527F0D5F299AF3531A6044D, Ec=0016-00000005"}
|
||||
[miniapp]2023/10/12 - 21:13:56.794 [31merror[0m C:/Users/Administrator/Desktop/server/utils/upload/aliyun_oss.go:36 function formUploader.Put() Failed {"err": "oss: service returned error: StatusCode=400, ErrorCode=InvalidObjectName, ErrorMessage=\"The specified object is not valid.\", RequestId=6527F1158915C63033347E5F, Ec=0016-00000005"}
|
||||
[miniapp]2023/10/12 - 22:04:57.489 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/example/exa_file_upload_download.go:29 接收文件失败! {"error": "http: no such file"}
|
||||
[miniapp]2023/10/12 - 22:08:48.459 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/example/exa_file_upload_download.go:29 接收文件失败! {"error": "http: no such file"}
|
||||
[miniapp]2023/10/12 - 22:12:55.105 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/example/exa_file_upload_download.go:29 接收文件失败! {"error": "http: no such file"}
|
||||
[miniapp]2023/10/12 - 22:17:38.420 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/example/exa_file_upload_download.go:29 接收文件失败! {"error": "http: no such file"}
|
||||
[miniapp]2023/10/12 - 22:22:22.968 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
@ -1,40 +0,0 @@
|
||||
[miniapp]2023/10/12 - 14:46:11.064 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/12 - 14:46:11.067 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 14:46:11.068 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 14:46:11.068 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/12 - 14:46:11.071 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 14:47:42.187 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/12 - 14:47:42.203 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 14:47:42.204 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 14:47:42.204 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:86 router register success
|
||||
[miniapp]2023/10/12 - 14:47:42.217 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 17:28:23.736 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/12 - 17:28:23.739 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 17:28:23.739 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 17:28:23.740 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/12 - 17:28:23.756 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 17:29:04.795 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:73 register table success
|
||||
[miniapp]2023/10/12 - 17:29:04.798 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 17:29:04.798 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 17:29:04.799 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/12 - 17:29:04.804 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 17:32:13.919 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:74 register table success
|
||||
[miniapp]2023/10/12 - 17:32:13.922 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 17:32:13.922 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 17:32:13.923 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/12 - 17:32:13.937 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 21:07:08.230 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:75 register table success
|
||||
[miniapp]2023/10/12 - 21:07:08.233 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 21:07:08.233 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 21:07:08.234 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/12 - 21:07:08.235 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 21:13:51.791 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:75 register table success
|
||||
[miniapp]2023/10/12 - 21:13:51.803 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 21:13:51.804 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 21:13:51.804 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/12 - 21:13:51.812 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/12 - 21:43:51.654 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:75 register table success
|
||||
[miniapp]2023/10/12 - 21:43:51.657 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/12 - 21:43:51.658 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/12 - 21:43:51.658 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/12 - 21:43:51.667 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
@ -1,16 +0,0 @@
|
||||
[miniapp]2023/10/17 - 08:17:20.513 [31merror[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:72 register table failed {"error": "Error 1069 (42000): Too many keys specified; max 64 keys allowed"}
|
||||
[miniapp]2023/10/17 - 08:18:09.291 [31merror[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:72 register table failed {"error": "Error 1069 (42000): Too many keys specified; max 64 keys allowed"}
|
||||
[miniapp]2023/10/17 - 09:04:37.076 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:09:12.484 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:09:26.157 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:09:40.307 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:11:26.648 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:11:31.255 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:11:59.129 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:12:31.958 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 09:14:05.958 [31merror[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:74 register table failed {"error": "Error 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key"}
|
||||
[miniapp]2023/10/17 - 09:24:07.298 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/17 - 09:24:07.298 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/17 - 19:02:13.384 [31merror[0m C:/Users/Administrator/Desktop/server/core/server.go:38 listen tcp :8888: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
|
||||
[miniapp]2023/10/17 - 21:48:55.926 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/17 - 21:49:14.534 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
@ -1,60 +0,0 @@
|
||||
[miniapp]2023/10/17 - 08:18:29.954 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:75 register table success
|
||||
[miniapp]2023/10/17 - 08:18:29.957 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 08:18:29.957 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 08:18:29.958 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 08:18:29.965 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 08:28:22.029 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:76 register table success
|
||||
[miniapp]2023/10/17 - 08:28:22.032 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 08:28:22.032 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 08:28:22.033 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 08:28:22.049 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 08:43:13.963 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:76 register table success
|
||||
[miniapp]2023/10/17 - 08:43:13.966 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 08:43:13.966 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 08:43:13.967 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 08:43:13.975 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 08:48:32.173 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 08:48:32.176 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 08:48:32.177 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 08:48:32.177 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 08:48:32.189 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 09:00:52.809 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 09:00:52.811 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 09:00:52.811 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 09:00:52.812 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 09:00:52.818 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 09:13:20.930 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 09:13:20.932 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 09:13:20.932 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 09:13:20.933 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 09:13:20.937 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 09:15:05.736 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 09:15:05.739 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 09:15:05.739 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 09:15:05.740 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 09:15:05.752 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 09:16:26.672 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 09:16:26.674 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 09:16:26.675 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 09:16:26.675 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 09:16:26.688 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 09:23:41.666 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 09:23:41.669 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 09:23:41.669 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 09:23:41.670 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 09:23:41.674 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 09:26:05.699 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 09:26:05.702 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 09:26:05.702 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 09:26:05.703 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 09:26:05.706 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 19:02:13.365 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 19:02:13.368 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 19:02:13.369 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 19:02:13.373 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 19:02:13.383 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/17 - 21:48:19.564 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/17 - 21:48:19.567 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/17 - 21:48:19.568 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/17 - 21:48:19.568 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/17 - 21:48:19.577 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe run success on {"address": ":8888"}
|
@ -1,5 +0,0 @@
|
||||
[miniapp]2023/10/20 - 07:53:58.443 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/20 - 07:54:00.942 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/20 - 07:54:00.943 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/20 - 07:54:00.944 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/20 - 07:54:00.952 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe run success on {"address": ":8888"}
|
@ -1,11 +0,0 @@
|
||||
[miniapp]2023/10/23 - 12:44:57.260 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/23 - 12:45:09.157 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/23 - 12:45:40.239 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/23 - 12:45:53.047 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/23 - 12:46:19.752 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "unsupported data type: map[is_finish:0]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
|
||||
[miniapp]2023/10/23 - 12:46:52.038 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "unsupported data type: map[is_finish:0]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
|
||||
[miniapp]2023/10/23 - 12:47:50.862 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "unsupported data type: map[is_finish:0]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
|
||||
[miniapp]2023/10/23 - 12:48:12.650 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "unsupported data type: map[is_finish:1]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
|
||||
[miniapp]2023/10/23 - 12:48:29.039 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "unsupported data type: map[is_finish:1]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
|
||||
[miniapp]2023/10/23 - 12:49:43.463 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "unsupported data type: map[is_finish:1]: Table not set, please set it like: db.Model(&user) or db.Table(\"users\")"}
|
||||
[miniapp]2023/10/23 - 12:50:36.829 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/todos.go:45 更新失败 {"error": "WHERE conditions required"}
|
@ -1,20 +0,0 @@
|
||||
[miniapp]2023/10/23 - 12:03:11.274 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/23 - 12:03:11.277 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/23 - 12:03:11.278 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/23 - 12:03:11.279 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/23 - 12:03:11.292 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/23 - 12:43:49.800 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/23 - 12:43:49.803 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/23 - 12:43:49.804 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/23 - 12:43:49.804 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/23 - 12:43:49.813 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/23 - 12:50:34.031 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/23 - 12:50:34.033 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/23 - 12:50:34.034 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/23 - 12:50:34.035 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/23 - 12:50:34.049 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/23 - 12:52:29.098 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/23 - 12:52:29.100 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/23 - 12:52:29.101 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/23 - 12:52:29.102 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/23 - 12:52:29.115 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe run success on {"address": ":8888"}
|
@ -1,5 +0,0 @@
|
||||
[miniapp]2023/10/24 - 19:58:03.150 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/24 - 19:58:03.153 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/24 - 19:58:03.153 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/24 - 19:58:03.154 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/24 - 19:58:03.157 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
@ -1,11 +0,0 @@
|
||||
[miniapp]2023/10/25 - 18:36:37.534 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:33 账号创建失败: %v {"error": "Error 1062 (23000): Duplicate entry '17754945397' for key 't_user.deleted'"}
|
||||
[miniapp]2023/10/25 - 18:36:37.534 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户信息或创建用户失败,错误信息:登录失败
|
||||
[miniapp]2023/10/25 - 18:36:37.534 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 登录失败,请联系管理员
|
||||
[miniapp]2023/10/25 - 18:36:59.107 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:33 账号创建失败: %v {"error": "Error 1062 (23000): Duplicate entry '17754945397' for key 't_user.deleted'"}
|
||||
[miniapp]2023/10/25 - 18:36:59.111 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户信息或创建用户失败,错误信息:登录失败
|
||||
[miniapp]2023/10/25 - 18:36:59.111 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 登录失败,请联系管理员
|
||||
[miniapp]2023/10/25 - 22:33:30.865 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/25 - 22:39:31.822 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/25 - 22:48:41.964 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/25 - 22:49:04.522 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/25 - 23:51:51.256 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
@ -1,5 +0,0 @@
|
||||
[miniapp]2023/10/25 - 18:29:32.387 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/25 - 18:29:32.390 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/25 - 18:29:32.390 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/25 - 18:29:32.391 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/25 - 18:29:32.405 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
@ -1,15 +0,0 @@
|
||||
[miniapp]2023/10/27 - 11:45:32.628 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/27 - 11:45:32.630 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/27 - 11:45:32.631 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/27 - 11:45:32.632 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/27 - 11:45:32.637 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/27 - 12:10:35.736 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/27 - 12:10:35.739 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/27 - 12:10:35.739 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/27 - 12:10:35.740 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/27 - 12:10:35.749 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/27 - 12:47:41.062 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/27 - 12:47:41.064 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/27 - 12:47:41.066 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/27 - 12:47:41.067 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/27 - 12:47:41.081 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
@ -1,46 +0,0 @@
|
||||
[miniapp]2023/10/31 - 20:49:30.974 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/31 - 20:49:57.444 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 20:50:56.668 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/31 - 20:54:19.255 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/31 - 20:54:22.325 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/10/31 - 20:55:06.699 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/31 - 20:55:09.937 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/31 - 20:55:09.978 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/31 - 20:55:17.840 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/31 - 20:56:13.511 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 获取手机号失败
|
||||
[miniapp]2023/10/31 - 20:57:16.209 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/favorite.go:20 获取收藏列表失败 {"error": "Key: 'GetFavoriteList.UserId' Error:Field validation for 'UserId' failed on the 'required' tag"}
|
||||
[miniapp]2023/10/31 - 21:02:24.186 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:02:35.331 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:03:50.010 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:04:56.284 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:06:04.107 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:07:00.827 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:07:16.492 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:07:46.859 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 21:08:31.311 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败record not found
|
||||
[miniapp]2023/10/31 - 21:10:01.493 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/system/article.go:100 获取失败unsupported data type: map[reading_num:{SQL:reading_num + ? Vars:[1] WithoutParentheses:false}]: Table not set, please set it like: db.Model(&user) or db.Table("users")
|
||||
[miniapp]2023/10/31 - 22:28:37.154 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:28:37.154 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:28:39.405 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:28:39.406 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:28:39.533 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:28:39.533 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:28:39.617 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:28:39.617 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:28:42.450 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:28:42.450 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:29:42.352 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:29:42.352 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:29:46.792 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:29:46.792 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:33:00.380 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:137 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:33:00.380 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 22:47:43.125 [31merror[0m C:/Users/Administrator/Desktop/server/service/app/user.go:138 创建用户Todo列表失败 {"error": "empty slice found"}
|
||||
[miniapp]2023/10/31 - 22:47:43.126 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 修改用户信息失败:empty slice found
|
||||
[miniapp]2023/10/31 - 23:36:47.050 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 创建失败 {"error": "invalid character 'l' looking for beginning of value"}
|
||||
[miniapp]2023/10/31 - 23:36:47.714 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 创建失败 {"error": "invalid character 'l' looking for beginning of value"}
|
||||
[miniapp]2023/10/31 - 23:36:50.662 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 创建失败 {"error": "invalid character 'l' looking for beginning of value"}
|
||||
[miniapp]2023/10/31 - 23:39:27.412 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 创建失败 {"error": "invalid character 'l' looking for beginning of value"}
|
||||
[miniapp]2023/10/31 - 23:40:00.946 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 创建失败 {"error": "json: cannot unmarshal string into Go struct field Vision.userId of type int"}
|
||||
[miniapp]2023/10/31 - 23:42:42.975 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 参数错误 {"error": "json: cannot unmarshal number into Go struct field Vision.leftEyeVision of type string"}
|
||||
[miniapp]2023/10/31 - 23:43:21.416 [31merror[0m C:/Users/Administrator/Desktop/server/api/v1/app/vision.go:43 参数错误 {"error": "json: cannot unmarshal number into Go struct field Vision.leftEyeVision of type string"}
|
@ -1,60 +0,0 @@
|
||||
[miniapp]2023/10/31 - 20:24:51.191 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 20:24:53.732 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 20:24:53.733 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 20:24:53.733 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 20:24:53.742 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 20:54:05.435 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 20:54:05.441 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 20:54:05.441 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 20:54:05.442 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 20:54:05.444 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 21:07:42.771 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 21:07:42.774 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 21:07:42.775 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 21:07:42.775 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 21:07:42.789 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 21:08:25.715 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 21:08:25.718 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 21:08:25.718 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 21:08:25.719 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 21:08:25.728 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 21:09:59.776 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 21:09:59.779 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 21:09:59.779 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 21:09:59.780 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 21:09:59.792 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 21:10:45.446 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 21:10:45.448 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 21:10:45.449 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 21:10:45.450 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 21:10:45.455 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 22:39:24.366 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 22:39:24.368 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 22:39:24.369 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 22:39:24.369 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 22:39:24.385 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 23:12:22.869 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 23:12:22.876 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 23:12:22.877 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 23:12:22.878 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:87 router register success
|
||||
[miniapp]2023/10/31 - 23:12:22.893 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 23:13:39.015 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 23:13:39.018 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 23:13:39.018 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 23:13:39.019 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:88 router register success
|
||||
[miniapp]2023/10/31 - 23:13:39.022 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 23:35:11.076 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 23:35:11.078 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 23:35:11.079 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 23:35:11.079 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:88 router register success
|
||||
[miniapp]2023/10/31 - 23:35:11.091 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 23:42:07.185 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 23:42:07.187 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 23:42:07.188 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 23:42:07.188 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:88 router register success
|
||||
[miniapp]2023/10/31 - 23:42:07.201 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
||||
[miniapp]2023/10/31 - 23:43:16.970 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/10/31 - 23:43:16.973 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/10/31 - 23:43:16.973 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/10/31 - 23:43:16.974 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:88 router register success
|
||||
[miniapp]2023/10/31 - 23:43:16.975 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
@ -1,11 +0,0 @@
|
||||
[miniapp]2023/11/01 - 00:13:11.882 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/01 - 00:13:45.594 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/01 - 00:14:15.126 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/01 - 00:14:23.191 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/01 - 00:14:28.535 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/01 - 00:15:23.979 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/11/01 - 00:15:40.724 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/11/01 - 00:17:03.179 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/11/01 - 00:17:12.790 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/11/01 - 00:17:42.207 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
||||
[miniapp]2023/11/01 - 00:20:44.193 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取用户基础账号信息失败: 未知的用户身份类型
|
@ -1,5 +0,0 @@
|
||||
[miniapp]2023/11/01 - 00:16:23.519 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/11/01 - 00:16:23.521 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/11/01 - 00:16:23.522 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/11/01 - 00:16:23.522 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:88 router register success
|
||||
[miniapp]2023/11/01 - 00:16:23.528 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
@ -1,3 +0,0 @@
|
||||
[miniapp]2023/11/02 - 04:28:58.518 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/02 - 04:29:12.614 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
||||
[miniapp]2023/11/02 - 04:29:13.638 [31merror[0m D:/GOPATH/pkg/mod/git.echol.cn/loser/logger@v1.0.15/log/say.go:65 获取Token失败,错误:invalid access token
|
@ -1,5 +0,0 @@
|
||||
[miniapp]2023/11/02 - 04:09:23.247 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/gorm.go:77 register table success
|
||||
[miniapp]2023/11/02 - 04:09:23.251 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/redis.go:23 redis connect ping response: {"pong": "PONG"}
|
||||
[miniapp]2023/11/02 - 04:09:23.252 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:39 register swagger handler
|
||||
[miniapp]2023/11/02 - 04:09:23.252 [34minfo[0m C:/Users/Administrator/Desktop/server/initialize/router.go:88 router register success
|
||||
[miniapp]2023/11/02 - 04:09:23.267 [34minfo[0m C:/Users/Administrator/Desktop/server/core/server.go:36 server.exe.exe run success on {"address": ":8888"}
|
@ -5,7 +5,7 @@ import "miniapp/global"
|
||||
type Favorite struct {
|
||||
global.GVA_MODEL
|
||||
UserId int `json:"userId" gorm:"not null;column:user_id;comment:'用户id'"` // 用户id
|
||||
FavoriteId int `json:"favoriteId" gorm:"not null;comment:收藏id"` // 收藏id
|
||||
WzId int `json:"wzId" gorm:"not null;comment:收藏id"` // 收藏id
|
||||
Cover string `json:"cover" gorm:"size:50;comment:封面"`
|
||||
Titte string `json:"title" comment:"收藏商品名称"` // 收藏商品名称
|
||||
Introduction string `json:"introduction" comment:"简介"` // 简介
|
||||
|
@ -8,6 +8,7 @@ type Article struct {
|
||||
Content string `json:"content" form:"content" gorm:"column:content;comment:内容;type:longtext;"`
|
||||
CoverImg string `json:"cover_img" form:"coverImg" gorm:"column:cover_img;comment:封面图;type:varchar(255);size:255;"`
|
||||
ReadingNum int `json:"reading_num" form:"reading_num" gorm:"column:reading_num;comment:阅读量;type:int;size:10;"`
|
||||
IsFavorite int `json:"is_favorite" form:"is_favorite" gorm:"column:is_favorite;comment:是否收藏;type:int;size:10;"`
|
||||
}
|
||||
|
||||
func (Article) TableName() string {
|
||||
|
@ -3,6 +3,7 @@ package system
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"miniapp/global"
|
||||
"miniapp/model/app"
|
||||
"miniapp/model/common"
|
||||
"miniapp/model/common/request"
|
||||
)
|
||||
@ -31,8 +32,15 @@ func (a ArticleService) DeleteArticle(article *common.Article) (err error) {
|
||||
}
|
||||
|
||||
// GetArticleById 根据id获取文章
|
||||
func (a ArticleService) GetArticleById(id string) (article *common.Article, err error) {
|
||||
func (a ArticleService) GetArticleById(id, userId string) (article *common.Article, err error) {
|
||||
err = global.GVA_DB.Where("id = ?", id).First(&article).Error
|
||||
err = global.GVA_DB.Table("articles").Where("id = ?", id).Update("reading_num", gorm.Expr("reading_num + ?", 1)).Error
|
||||
|
||||
// 判断是否收藏
|
||||
var favorite app.Favorite
|
||||
err = global.GVA_DB.Where("wz_id = ? AND user_id = ?", id, userId).First(&favorite).Error
|
||||
if favorite.ID != 0 {
|
||||
article.IsFavorite = 1
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user