This commit is contained in:
邹宗楠
2023-04-23 18:17:41 +08:00
parent 919fb4d14c
commit f3a74e00c1

View File

@@ -151,7 +151,7 @@ func (c *PurchaseHandler) onAfsOrderMsg(msg *mtwmapi.CallbackMsg) (retVal *mtwma
if refundData.NotifyType == "agree" && msg.Cmd == mtwmapi.MsgTypeOrderRefund {
order, _ := partner.CurOrderManager.LoadOrder(orderStatus.RefVendorOrderID, model.VendorIDMTWM)
order.Status = model.OrderStatusCanceled
dao.UpdateEntity(dao.GetDB(), &order, "Status")
dao.UpdateEntity(dao.GetDB(), order, "Status")
}
}
}