This commit is contained in:
2025-10-29 22:20:21 +08:00
commit 32b3b7b29a
111 changed files with 344425 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# API请求code
stateCodeList = {
"0": "成功",
"40026": "验证码错误",
"40001": "读取用户头像数据失败",
"40020": "邮箱或密码不正确",
"40018": "该账号未激活",
"40033": "用户未激活,已重新发送激活邮件",
}
def getCode(code):
return stateCodeList.get(str(code), "未知错误,请联系技术支持")