feat(后台): 37sdk需求

This commit is contained in:
luying
2022-11-25 17:18:38 +08:00
parent 594a8ce96d
commit 76633e67a6
9 changed files with 99 additions and 9 deletions
+10
View File
@@ -550,6 +550,7 @@ export const STATUS = {
GM_OLD_REF_TIME_ERR: { code: 60029, simStr: '正在进行中的时间不可更新成未来' },
GM_HIDDEN_CANNOT_INIT: { code: 60030, simStr: '已初始化过' },
GM_ACTIVITY_TIME_ERR: { code: 60031, simStr: '时间不可有重叠' },
GM_USER_TYPE_ERR: { code: 60032, simStr: '您不可使用账号密码登录,请从专属后台点击链接进入' },
// 支付相关状态 70000 - 79999
NO_PRODUCT_ID: { code: 70001, simStr: '无效商品' },
NO_PAY_TYPE: { code: 70002, simStr: '无效支付类型' },
@@ -616,4 +617,13 @@ export const SDK_37_REFUND_CODE = {
IP_LIMIT: { code: -3, simStr: 'IP限制' },
MD5_ERR: { code: -4, simStr: 'md5校验错误' },
TIME_IS_EXPIRED: { code: -6, simStr: 'time时间已过期' },
}
export const BACKEND_37_CODE = {
SUCCESS: { code: 1, simStr: '成功' },
WRONG_PARAM: { code: -1, simStr: '参数不全' },
MD5_ERR: { code: -2, simStr: '加密签名错误' },
TIME_IS_EXPIRED: { code: -3, simStr: '请求超时(连接已过期)' },
USER_NOT_FOUND: { code: -4, simStr: '非法账号' },
LOGIN_FAIL: { code: -5, simStr: '登录失败' },
}