sdk:37ios支付及退款

This commit is contained in:
luying
2022-03-31 16:15:49 +08:00
parent 9da83c56be
commit 76fe3adb7f
15 changed files with 275 additions and 14 deletions

View File

@@ -520,6 +520,19 @@ export const PAY_37_CALLBACK_CODE = {
PAY_ERR: { code: 10, simStr: '充值失败' }
}
export const PAY_IOS_37_CALLBACK_CODE = {
SUCCESS: { code: 1, simStr: '发货成功' },
FAIL: { code: -1, simStr: '发货失败' },
USER_NOT_FOUND: { code: -2, simStr: '用户不存在' },
ROLE_NOT_FOUND: { code: -3, simStr: '角色不存在' },
IP_LIMIT: { code: -4, simStr: 'IP限制' },
MD5_ERR: { code: -5, simStr: 'md5校验错误' },
ORDER_DUPLICATE: { code: -6, simStr: '订单号重复' },
TIME_IS_EXPIRED: { code: -7, simStr: 'time时间已过期' },
SERVER_IS_BUSY: { code: -8, simStr: '游戏服务器繁忙' },
WRONG_PARAM: { code: -9, simStr: '参数错误' },
}
export const SDK_37_TREAT_CODE = {
SUCCESS: { code: 1, simStr: '成功' },
WRONG_PARAMS: { code: -1, simStr: '参数错误' },
@@ -528,4 +541,13 @@ export const SDK_37_TREAT_CODE = {
ERR: { code: -4, simStr: '其他错误' },
USER_NOT_FOUND: { code: -5, simStr: '用户不存在' },
ROLE_NOT_FOUND: { code: -6, simStr: '角色不存在' },
}
export const SDK_37_REFUND_CODE = {
SUCCESS: { code: 1, simStr: '扣除元宝成功' },
FAIL: { code: -1, simStr: '扣除元宝失败' },
ROLE_NOT_FOUND: { code: -2, simStr: '角色不存在' },
IP_LIMIT: { code: -3, simStr: 'IP限制' },
MD5_ERR: { code: -4, simStr: 'md5校验错误' },
TIME_IS_EXPIRED: { code: -6, simStr: 'time时间已过期' },
}