From 30e4b26ebfcae83fd4a9a8aae8cceaca7e8d37ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 17 Mar 2021 13:40:55 +0800 Subject: [PATCH] aa --- business/jxstore/cms/store.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index e941434f1..b280c63a1 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1225,7 +1225,6 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend return nil, err } } else if vendorID == model.VendorIDJDShop { - storeMap.VendorOrgCode = "1" if storeMap.VendorStoreID == "" { storeMap.SyncStatus = model.SyncFlagNewMask //京东商城要去建店 } else { @@ -1262,11 +1261,6 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend } }() if err = dao.CreateEntity(db, storeMap); err == nil { - if vendorID == model.VendorIDJDShop { - storeMap2 := storeMap - storeMap2.VendorOrgCode = "2" - dao.CreateEntity(db, storeMap2) - } dao.Commit(db) outStoreMap = storeMap } else {