From 0c2751700aa7b9842370d362cb02e4c562c810fa Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 29 Apr 2019 16:45:31 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E9=A5=BF=E7=99=BE=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=8F=96=E6=B6=88=E7=94=B3=E8=AF=B7=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/ebai/order.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/ebai/order.go b/business/partner/purchase/ebai/order.go index cbfae3ebe..b6f2c7832 100644 --- a/business/partner/purchase/ebai/order.go +++ b/business/partner/purchase/ebai/order.go @@ -287,9 +287,12 @@ func (c *PurchaseHandler) callbackMsg2Status(msg *ebaiapi.CallbackMsg) (orderSta orderStatus.Remark += ",额外原因:" + additionReason } if cancelType == ebaiapi.OrderUserCancelTypeBeforeSale { - if msgType == ebaiapi.OrderUserCancelApply { + if msgType == ebaiapi.OrderUserCancelApply || + msgType == ebaiapi.OrderUserCancelCSIntervene { orderStatus.VendorStatus = fakeUserApplyCancel - } else if msgType == ebaiapi.OrderUserCancelInvalid { + } else if msgType == ebaiapi.OrderUserCancelInvalid || + msgType == ebaiapi.OrderUserCancelMerchantRefused || + msgType == ebaiapi.OrderUserCancelCSRefused { orderStatus.VendorStatus = fakeUserUndoApplyCancel } }