调试接口
This commit is contained in:
@ -301,17 +301,65 @@ export const TeaRoomPackageOrderStatusTextValue: Record<TeaRoomPackageOrderStatu
|
||||
},
|
||||
}
|
||||
|
||||
// 本地-团购套餐订单状态
|
||||
export enum GroupComboOrderStatus {
|
||||
ToUse = 0, // 待使用
|
||||
Used = 1, // 已使用
|
||||
Refunded = 2, // 已退款
|
||||
}
|
||||
|
||||
// 本地-团购套餐订单状态
|
||||
export enum GroupComboOrderStatusText {
|
||||
All = 'all', // 全部
|
||||
ToUse = 'toUse', // 待使用
|
||||
Used = 'used', // 已使用
|
||||
Refunded = 'refunded', // 已退款
|
||||
}
|
||||
|
||||
export const GroupComboOrderStatusValue: Record<GroupComboOrderStatusText, string | number> = {
|
||||
[GroupComboOrderStatusText.All]: '',
|
||||
[GroupComboOrderStatusText.ToUse]: 0,
|
||||
[GroupComboOrderStatusText.Used]: 1,
|
||||
[GroupComboOrderStatusText.Refunded]: 2,
|
||||
}
|
||||
|
||||
export const GroupComboOrderStatusTextValue: Record<GroupComboOrderStatus, any> = {
|
||||
[GroupComboOrderStatus.ToUse]: {
|
||||
title: '待使用'
|
||||
},
|
||||
[GroupComboOrderStatus.Used]: {
|
||||
title: '交易完成'
|
||||
},
|
||||
[GroupComboOrderStatus.Refunded]: {
|
||||
title: '退款成功'
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
// 抖音状态
|
||||
export enum DouYinOrderStatus {
|
||||
ToUse = 0, // 待使用
|
||||
Used = 1, // 已使用
|
||||
}
|
||||
|
||||
// 抖音订单状态文本
|
||||
export enum DouYinOrderStatusText {
|
||||
All = 'all', // 全部
|
||||
ToUse = 'tousee', // 待使用
|
||||
ToUse = 'toUse', // 待使用
|
||||
Used = 'used', // 已使用
|
||||
}
|
||||
|
||||
export enum DouYinOrderStatus {
|
||||
Pending = 0, // 待付款
|
||||
ToUse = 1, // 待使用
|
||||
Used = 2, // 已使用
|
||||
Refunded = 3, // 已退款
|
||||
}
|
||||
export const DouYinOrderStatusValue: Record<DouYinOrderStatusText, string | number> = {
|
||||
[DouYinOrderStatusText.All]: '',
|
||||
[DouYinOrderStatusText.ToUse]: 0,
|
||||
[DouYinOrderStatusText.Used]: 1,
|
||||
}
|
||||
|
||||
export const DouYinOrderStatusTextValue: Record<DouYinOrderStatus, any> = {
|
||||
[DouYinOrderStatus.ToUse]: {
|
||||
title: '待使用'
|
||||
},
|
||||
[DouYinOrderStatus.Used]: {
|
||||
title: '交易完成'
|
||||
},
|
||||
}
|
||||
|
||||
@ -52,4 +52,22 @@ export const PayList: PayMethod[] = [
|
||||
value: PayValue.WeChatPay,
|
||||
type: PayCategory.WeChatPay
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
// 支付订单类型
|
||||
export enum PayOrderType {
|
||||
TeaSpecialis = 0, // 茶艺师
|
||||
TeaRoom = 1, // 茶室支付
|
||||
BuyCombo = 2, // 购买套餐
|
||||
BuyVip = 3, // 购买会员
|
||||
Recharge = 4, // 充值
|
||||
ComboRefund = 5, // 套餐退款
|
||||
TeaRoomRefund = 6, // 茶室退款
|
||||
}
|
||||
|
||||
// 支付订单来源
|
||||
export enum PayOrderSource {
|
||||
MINI = 1, // 小程序
|
||||
H5 = 2, // H5
|
||||
APP = 3, // APP
|
||||
}
|
||||
Reference in New Issue
Block a user