This commit is contained in:
邹宗楠
2025-08-29 15:20:05 +08:00
parent 6d1a0d8ee4
commit 6ab49beafe
6 changed files with 34 additions and 22 deletions

View File

@@ -51,7 +51,7 @@ func (c *PurchaseHandler) isAfsMsg(msg *ebaiapi.CallbackMsg) bool {
switch msg.Cmd {
case ebaiapi.CmdOrderPartRefund:
msgType := int(utils.MustInterface2Int64(msg.Body["type"]))
return msgType == ebaiapi.OrderPartRefuncTypeCustomer || msgType == ebaiapi.OrderPartRefuncTypeCS
return msgType == ebaiapi.OrderPartRefuncTypeCustomer || msgType == ebaiapi.OrderPartRefuncTypeCS || msgType == ebaiapi.OrderPartRefuncTypeMerchant
case ebaiapi.CmdOrderUserCancel:
// 1表示订单完成前用户全单取消申请流程 2表示订单完成后用户全单退款申请流程
cancelType := int(utils.MustInterface2Int64(msg.Body["cancel_type"]))