diff --git a/business/partner/purchase/tao_vegetable/order.go b/business/partner/purchase/tao_vegetable/order.go index 812ffca41..8f87e3401 100644 --- a/business/partner/purchase/tao_vegetable/order.go +++ b/business/partner/purchase/tao_vegetable/order.go @@ -307,9 +307,9 @@ func (c *PurchaseHandler) onOrderMsg(orderStatus, orderId string, orderCallback if orderStatus == tao_vegetable.OrderStatusOnSaleCancel { onSale := orderCallback.(*tao_vegetable.OnSaleCancel) //msg.PublicModel = onSale.PublicModel - msg.MerchantCode = onSale.MerchantCode - msg.StoreId = onSale.StoreId - msg.BizOrderId = onSale.BizOrderId + msg.MerchantCode = onSale.PartCancelRequest.MerchantCode + msg.StoreId = onSale.PartCancelRequest.StoreId + msg.BizOrderId = onSale.PartCancelRequest.BizOrderId msg.OrderStatus = tao_vegetable.OrderStatusOnSaleCancel } status := c.callbackOrderMsg2Status(msg) diff --git a/controllers/taobao_vegetable.go b/controllers/taobao_vegetable.go index ee6255327..fe925ecb4 100644 --- a/controllers/taobao_vegetable.go +++ b/controllers/taobao_vegetable.go @@ -239,7 +239,7 @@ func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() { return } - callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusOnSaleCancel, utils.Int64ToStr(afsOrder.BizOrderId), afsOrder) + callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusOnSaleCancel, utils.Int64ToStr(afsOrder.PartCancelRequest.BizOrderId), afsOrder) c.Data["json"] = callbackResponse c.ServeJSON() return