活动:支付接口

This commit is contained in:
qiaoxin
2021-05-12 15:17:15 +08:00
parent d5d014c2ba
commit 74b57083f7
10 changed files with 374 additions and 75 deletions

View File

@@ -59,4 +59,23 @@ export enum FIRST_GIFT_STATE {
NOT_OPEN = 0, // 未开启
OPEN = 1, // 开启中
CLOSED = 2, //结束
}
}
/**
* 支付类型
*/
export enum PAY_TYPE {
WX = 1, // 微信
ALI = 2, // 阿里
APPLE = 3, // 苹果
}
/**
* 订单状态类型
*/
export enum ORDER_STATE {
APPLY = 1, // 下单成功
CHECK_ORDER = 2, // 触发查询订单
RESULT_SUCCESS = 3, // 订单成功并结算奖励
RESULT_FAIL = 4, // 订单失败
}

View File

@@ -484,6 +484,7 @@ export const FILENAME = {
DIC_GACHA_CONTENT: 'dic_zyz_recruitContent',
DIC_GIFT_PACKAGE: 'dic_zyz_giftPackage',
DIC_RECRUIT: 'dic_zyz_recruit',
DIC_RMB: 'dic_zyz_rmb'
}
export const WAR_RELATE_TABLES = [

View File

@@ -366,6 +366,11 @@ export const STATUS = {
GM_HERO_NOT_FOUND: { code: 60011, simStr: '未找到武将' },
GM_PVP_DEFENSE_NOT_FOUND: { code: 60012, simStr: '该玩家未保存防守阵' },
GM_PVP_DEFENSE_HERO_NOT_FOUND: { code: 60013, simStr: '该守阵没有该武将' },
GM_JSON_FORMAT_ERR: { code: 60005, simStr: 'json格式错误' }
GM_JSON_FORMAT_ERR: { code: 60005, simStr: 'json格式错误' },
// 支付相关状态 70000 - 79999
NO_PRODUCT_ID: { code: 70001, simStr: '无效商品' },
NO_PAY_TYPE: { code: 70002, simStr: '无效支付类型' },
NO_ORDER: { code: 70003, simStr: '没有此订单' },
DUPLICATE_ORDER: { code: 70004, simStr: '订单已经结算' }
}