This commit is contained in:
苏尹岚
2020-12-02 09:41:41 +08:00
parent 542a6b1ecc
commit 9404bb53b7
2 changed files with 5 additions and 4 deletions

View File

@@ -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
}