调试接口

This commit is contained in:
wangxiaowei
2025-12-23 03:30:22 +08:00
parent 90e9448b68
commit 3af440cd21
17 changed files with 149 additions and 82 deletions

View File

@ -218,6 +218,7 @@ export enum TeaRoomOrderStatus {
Consumption = 2, // 消费中
Finished = 3, // 完成
Cancelled = 4, // 订单取消
Refunded = 5, // 已退款
}
// 包间订单状态文本
@ -228,6 +229,7 @@ export enum TeaRoomOrderStatusText {
Consumption = 'consumption', // 消费中
Finished = 'finished', // 已完成
Cancelled = 'cancelled', // 已取消
Refunded = 'refunded', // 已取消
}
// 状态内容映射
@ -246,6 +248,9 @@ export const TeaRoomOrderStatusTextValue: Record<TeaRoomOrderStatus, any> = {
},
[TeaRoomOrderStatus.Cancelled]: {
title: '订单取消'
},
[TeaRoomOrderStatus.Refunded]: {
title: '已退款'
},
}
@ -257,9 +262,10 @@ export const TeaRoomOrderStatusValue: Record<TeaRoomOrderStatusText, string | nu
[TeaRoomOrderStatusText.Consumption]: 2,
[TeaRoomOrderStatusText.Finished]: 3,
[TeaRoomOrderStatusText.Cancelled]: 4,
[TeaRoomOrderStatusText.Refunded]: 5,
}
// 包间订单状态数字(根据UI图还缺已退款、待接单、售后中、售后完成)
// 包间订单套餐状态数字(根据UI图还缺已退款、待接单、售后中、售后完成)
export enum TeaRoomPackageOrderStatus {
Pending = 0, // 待付款
ToUse = 1, // 待使用

View File

@ -23,7 +23,7 @@ export enum PayValue {
export const PayValueMap = {
[PayValue.PlatformBalance]: 'balance',
[PayValue.WeChatPay]: 'wx',
[PayValue.StoreBalance]: 'store_balance',
[PayValue.StoreBalance]: 'balance',
}
// 支付方式列表
@ -63,6 +63,7 @@ export enum PayOrderType {
Recharge = 4, // 充值
ComboRefund = 5, // 套餐退款
TeaRoomRefund = 6, // 茶室退款
RenewRoom = 7, // 续订包间
}
// 支付订单来源