初始化提交

This commit is contained in:
2023-08-31 17:32:45 +08:00
parent 88dc1bbe74
commit 7826652e11
101 changed files with 6127 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
package consts
// 业务状态码
const (
HttpSuccess = 200 // 成功
HttpError = -1 // 失败
USER_STATUS_ERROR = 201 // 用户状态异常
CLIENT_HTTP_ERROR = 400 // 错误请求
ClientHttpUnauthorized = 401 // 未授权
HTTP_PROHIBIT = 403 // 禁止请求
ClientHttpNotFound = 404 // 资源未找到
TokenError = 405 // token错误/无效
TOKEN_EXPTIRED = 406 // token过期
ServerError = 500 // 服务器异常
)