finish: gorm序列化

This commit is contained in:
eson
2023-06-14 18:17:45 +08:00
parent 50bca808f1
commit 6a2cfb14e9
26 changed files with 841 additions and 143 deletions

View File

@@ -13,7 +13,8 @@ var (
CodeServiceErr = &StatusResponse{510, "server logic error"} // server logic 错误
CodeUnAuth = &StatusResponse{401, "unauthorized"} // 未授权
CodeUpdateErr = &StatusResponse{5000, "update database error"} // update database logic 错误
CodeUpdateErr = &StatusResponse{5000, "update database error"} // update database logic 错误
CodeDupGuestErr = &StatusResponse{5001, "the user is already a guest user and does not need to apply again"} // 用户已经是guest用户不需要重复申请 错误
)
type Response struct {