From f6509532acc04274126697719b8a0dcb4dc4ec55 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Fri, 16 Oct 2020 17:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=88=98=E6=96=97=E5=AD=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=8A=B6=E6=80=81=E7=A0=81=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/consts/statusCode.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/shared/consts/statusCode.ts b/shared/consts/statusCode.ts index 0b2ec4177..c5d9f9271 100644 --- a/shared/consts/statusCode.ts +++ b/shared/consts/statusCode.ts @@ -4,15 +4,21 @@ export const STATUS = { WRONG_PARMS: { code: 1, simStr: '参数错误' }, TOKEN_ERR: { code: 2, simStr: 'token失效' }, INTERNAL_ERR: { code: 3, simStr: '内部错误' }, - // 账号相关状态 10001 - 19999 + // 账号相关状态 10000 - 19999 SMS_IN_60S: { code: 10001, simStr: '60秒内只能发送一次' }, SMS_CNT_LIMIT: { code: 10002, simStr: '今日短信条数已达上限' }, SMS_INVALID: { code: 10003, simStr: '验证码无效' }, SERVER_NOT_FOUND: { code: 10004, simStr: '未找到服务器列表' }, ROLE_NOT_FOUND: { code: 10005, simStr: '未找到角色' }, - // 战斗相关状态 20001 - 29999 - TOWER_RESET_ERR: { code: 20001, simStr: '只能重置当前层' } - // 养成相关状态 30001 - 39999 - // 社交相关状态 40001 - 49999 - // 运营模块相关状态 50001 - 59999 + // 战斗相关状态 20000 - 29999 + // 战斗通用 20000 - 20099 + // 主线 20100 - 20199 + // 每日 20200 - 20299 + // 奇遇 20300 - 20399 + // 远征 20400 - 20499 + // 天梯 20500 - 20599 + TOWER_RESET_ERR: { code: 20501, simStr: '只能重置当前层' } + // 养成相关状态 30000 - 39999 + // 社交相关状态 40000 - 49999 + // 运营模块相关状态 50000 - 59999 }