feat(活动): 37通用对接接口

This commit is contained in:
luying
2023-04-04 18:53:02 +08:00
parent 16eace7d4c
commit ad808162d7
9 changed files with 252 additions and 30 deletions

View File

@@ -783,7 +783,7 @@ export const BACKEND_37_CODE = {
LOGIN_FAIL: { code: -5, simStr: '登录失败' },
}
export const SDK_37_SEND_GIFT_RESULT_CODE = {
export const SDK_37_ACTIVITY_CODE = {
SUCCESS: { code: 1, simStr: '成功' },
WRONG_PARAMS: { code: 10001, simStr: '参数异常' },
ROLE_NOT_FOUND: { code: 10002, simStr: '角色不存在' },
@@ -795,4 +795,6 @@ export const SDK_37_SEND_GIFT_RESULT_CODE = {
GIFT_CODE_HAS_EXPIRED: { code: 20005, simStr: '礼包码已过期' },
GIFT_CODE_NOT_START: { code: 20006, simStr: '礼包码暂未开启' },
GIFT_CHANNEL_ERR: { code: 20007, simStr: '礼包不可在此渠道使用' },
TIME_IS_EXPIRED: { code: 20008, simStr: '时间戳已过期' },
SERVER_NOT_FOUND: { code: 20009, simStr: '服务器未找到' },
}