饿百申请客服介入不当成申请取消事件
This commit is contained in:
@@ -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.Remark = buildFullReason(utils.Interface2String(msg.Body["cancel_reason"]), utils.Interface2String(msg.Body["addition_reason"]))
|
||||||
orderStatus.VendorStatus = msg.Cmd + "-" + utils.Int2Str(msgType)
|
orderStatus.VendorStatus = msg.Cmd + "-" + utils.Int2Str(msgType)
|
||||||
if cancelType == ebaiapi.OrderUserCancelTypeBeforeSale {
|
if cancelType == ebaiapi.OrderUserCancelTypeBeforeSale {
|
||||||
if msgType == ebaiapi.OrderUserCancelApply ||
|
if msgType == ebaiapi.OrderUserCancelApply /* || msgType == ebaiapi.OrderUserCancelCSIntervene */ {
|
||||||
msgType == ebaiapi.OrderUserCancelCSIntervene {
|
|
||||||
orderStatus.Status = model.OrderStatusApplyCancel
|
orderStatus.Status = model.OrderStatusApplyCancel
|
||||||
} else if msgType == ebaiapi.OrderUserCancelCSRefused ||
|
} else if msgType == ebaiapi.OrderUserCancelCSRefused ||
|
||||||
msgType == ebaiapi.OrderUserCancelMerchantRefused {
|
msgType == ebaiapi.OrderUserCancelMerchantRefused {
|
||||||
|
|||||||
Reference in New Issue
Block a user