小程序一些功能更新

This commit is contained in:
李琦
2026-09-29 15:48:13 +08:00
parent 3bb7fa8db3
commit 75499ba85c
29 changed files with 1299 additions and 196 deletions

View File

@@ -327,4 +327,14 @@ const (
PayChannelWx = "wxpay" // 微信虚拟支付(Android 等)
PayChannelIOS = "apple" // Apple IAP
XPayNotifyEvent = "xpay_goods_deliver_notify" // 发货推送事件名
XPayRefundNotifyEvent = "xpay_refund_notify" // 退款结果推送事件名
)
// 退款单状态(member_orders.refund_status,独立于订单状态 status)
const (
RefundStatusNone = 0 // 未发起退款
RefundStatusProcessing = 1 // 退款中(已调用平台退款接口,等待回调/查单确认)
RefundStatusSuccess = 2 // 退款成功(含手工退款登记)
RefundStatusFailed = 3 // 退款失败(可重新发起)
)