GM后台修改status code

This commit is contained in:
luying
2020-10-17 16:39:17 +08:00
parent 76a6259fbc
commit 81bce4f57b
10 changed files with 134 additions and 321 deletions

View File

@@ -64,4 +64,14 @@ export const STATUS = {
// 养成相关状态 30000 - 39999
// 社交相关状态 40000 - 49999
// 运营模块相关状态 50000 - 59999
// GM后台相关状态 60000 - 69999
GM_ERR_PASSWORD: { code: 60001, simStr: '账号或密码错误' },
GM_MISS_API: { code: 60002, simStr: '未找到该接口' },
GM_NO_AUTHORITY_GET: { code: 60003, simStr: '您没有权限访问该接口' },
GM_NO_AUTHORITY_POST: { code: 60004, simStr: '您没有权限进行该操作' },
GM_UPLOAD_FORMAT_ERR: { code: 60005, simStr: '文件格式错误' },
GM_DUPLICATE_GM_ACCOUNT: { code: 60006, simStr: '该账号已使用' },
GM_DUPLICATE_API: { code: 60007, simStr: '该接口已存在' },
GM_DUPLICATE_GROUP: { code: 60008, simStr: '该用户组已存在' },
GM_CREATE_ERROR: { code: 60009, simStr: '创建失败' }
}