jds
This commit is contained in:
@@ -1639,7 +1639,7 @@ func TransferJdsOrder(ctx *jxcontext.Context, vendorOrderID string, storeID int)
|
||||
}
|
||||
order.Status = model.OrderStatusNew
|
||||
if order.ActualPayPrice == 0 {
|
||||
msg, err := jdshop.GetJdsOrder(order.VendorOrderID2)
|
||||
msg, err := jdshop.GetJdsOrder(order.VendorOrderID2, order.VendorOrgCode)
|
||||
if err == nil {
|
||||
if jxutils.StandardPrice2Int(utils.Str2Float64(msg.OrderPayment)) == 0 {
|
||||
order.ActualPayPrice = jxutils.StandardPrice2Int(utils.Str2Float64(msg.OrderTotalPrice) + utils.Str2Float64(msg.FreightPrice) - utils.Str2Float64(msg.SellerDiscount))
|
||||
@@ -1886,7 +1886,7 @@ func RefreshJdsOrderConsigneeInfo(ctx *jxcontext.Context, vendorOrderID string)
|
||||
if waybill != nil {
|
||||
return fmt.Errorf("已经创建了三方运单不允许修改联系人信息!")
|
||||
}
|
||||
jdsOrder, err := jdshop.GetJdsOrder(order.VendorOrderID2)
|
||||
jdsOrder, err := jdshop.GetJdsOrder(order.VendorOrderID2, order.VendorOrgCode)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user