From 671101d759a772511cb8a475f85c9b9208f0116e Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 19 Jan 2020 13:03:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A5=BF=E7=99=BE=E7=94=B3=E8=AF=B7=E5=AE=A2?= =?UTF-8?q?=E6=9C=8D=E4=BB=8B=E5=85=A5=E4=B8=8D=E5=BD=93=E6=88=90=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=8F=96=E6=B6=88=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/ebai/order.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/business/partner/purchase/ebai/order.go b/business/partner/purchase/ebai/order.go index 11f5c00bd..046c9627f 100644 --- a/business/partner/purchase/ebai/order.go +++ b/business/partner/purchase/ebai/order.go @@ -494,8 +494,7 @@ func (c *PurchaseHandler) callbackMsg2Status(msg *ebaiapi.CallbackMsg) (orderSta orderStatus.Remark = buildFullReason(utils.Interface2String(msg.Body["cancel_reason"]), utils.Interface2String(msg.Body["addition_reason"])) orderStatus.VendorStatus = msg.Cmd + "-" + utils.Int2Str(msgType) if cancelType == ebaiapi.OrderUserCancelTypeBeforeSale { - if msgType == ebaiapi.OrderUserCancelApply || - msgType == ebaiapi.OrderUserCancelCSIntervene { + if msgType == ebaiapi.OrderUserCancelApply /* || msgType == ebaiapi.OrderUserCancelCSIntervene */ { orderStatus.Status = model.OrderStatusApplyCancel } else if msgType == ebaiapi.OrderUserCancelCSRefused || msgType == ebaiapi.OrderUserCancelMerchantRefused {