This commit is contained in:
richboo111
2023-02-21 18:02:07 +08:00
parent 511a0b7f79
commit a29f75d70f
2 changed files with 7 additions and 6 deletions

View File

@@ -1575,6 +1575,7 @@ func TransferJdsOrder(ctx *jxcontext.Context, vendorOrderID string, storeID int)
}
order.Status = model.OrderStatusNew
if order.ActualPayPrice == 0 {
globals.SugarLogger.Debugf("order======shde=%s", utils.Format4Output(order, false))
msg, err := jdshop.GetJdsOrder(order.VendorOrderID2, order.VendorOrgCode)
if err == nil {
if jxutils.StandardPrice2Int(utils.Str2Float64(msg.OrderPayment)) == 0 {