This commit is contained in:
2025-11-12 20:04:38 +08:00
parent 58fce7ec2a
commit a5add3dd73
15 changed files with 328 additions and 91 deletions
+2 -4
View File
@@ -18,10 +18,8 @@ database:
user:
cookieTimeout: 604800
passHashType: "md5" #密码哈希类型 text md5
avatarSavePath: "/data/avatar/" #头像保存的真实位置
avatarGinrouterPath: "/avatar/" #gin 路由的路径
avatarPath: "/static/avatars/def.png"
passHashType: "md5" #密码哈希类型 text md5 md5salt
file:
maxSize: 52428800
+3 -1
View File
@@ -3,6 +3,8 @@
"apiErr":-1,
"postErr":-2,
"jsonErr":-3,
"userNameDup":-4
"userNameDup":-4,
"userNameNoFund":-41,
"userPassIncorrect":-42
}