From 90edf2a5812ff077aca62357c3821278fef76cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 10 Dec 2019 18:01:49 +0800 Subject: [PATCH] =?UTF-8?q?addStoreVendorMap=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=8C=E6=94=AF=E6=8C=81=E4=BA=AC=E8=A5=BF=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 3add5884b..1b6cbdbc1 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1035,12 +1035,12 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend return nil, fmt.Errorf("非京东平台要求必须自动拣货") } userName := ctx.GetUserName() + storeMap.StoreID = storeID + storeMap.VendorID = vendorID if vendorID != model.VendorIDJX { if handler := CurVendorSync.GetStoreHandler(vendorID); handler != nil { store, err2 := handler.ReadStore(ctx, vendorOrgCode, storeMap.VendorStoreID) if err = err2; err == nil || storeMap.IsSync == 0 { - storeMap.StoreID = storeID - storeMap.VendorID = vendorID if store != nil { storeMap.DeliveryType = store.DeliveryType storeMap.Status = store.Status