From efe5d96d62ee8f07ca64da88a36fa42ea7286319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 30 Nov 2021 19:15:57 +0800 Subject: [PATCH] 123 --- business/partner/purchase/jdshop/callback.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/jdshop/callback.go b/business/partner/purchase/jdshop/callback.go index a1b10b868..ec244c222 100644 --- a/business/partner/purchase/jdshop/callback.go +++ b/business/partner/purchase/jdshop/callback.go @@ -98,13 +98,13 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err db = dao.GetDB() ) //有可能是库里已经有这个订单了 - orderE, err := partner.CurOrderManager.LoadOrder(msg.OrderID+"00000001", model.VendorIDJDShop) + orderE, err := partner.CurOrderManager.LoadOrder(msg.OrderID+"000001", model.VendorIDJDShop) if orderE != nil { return order, fmt.Errorf("已经存在此订单!") } order = &model.GoodsOrder{ VendorOrderID2: msg.OrderID, - VendorOrderID: msg.OrderID + "00000001", + VendorOrderID: msg.OrderID + "000001", VendorID: model.VendorIDJDShop, BaseFreightMoney: jxutils.StandardPrice2Int(utils.Str2Float64(msg.FreightPrice)), VendorStatus: msg.OrderState,