From 1fa96214316111f7db6956ead77e6ba7fccaf198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 22 May 2020 08:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E4=BA=AC=E4=B8=9C=E4=B8=8A?= =?UTF-8?q?=E5=B1=82=E9=97=A8=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 50b7a07a7..ffa5fbcfa 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1176,7 +1176,6 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend } } else if vendorID == model.VendorIDJDShop { if storeMap.VendorStoreID == "" { - fmt.Println("testadd") storeMap.SyncStatus = model.SyncFlagNewMask //京东商城要去建店 } else { if handler := CurVendorSync.GetStoreHandler(vendorID); handler != nil { @@ -1199,7 +1198,6 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend if len(storeMapList) > 0 { _, err = CurVendorSync.SyncStore(ctx, db, storeMap.VendorID, storeID, false, userName) } else { - fmt.Println("testadd2") if err == nil { dao.WrapAddIDCULDEntity(storeMap, userName) if db == nil { @@ -1212,9 +1210,11 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend panic(r) } }() + fmt.Println("test111") if err = dao.CreateEntity(db, storeMap); err == nil { dao.Commit(db) outStoreMap = storeMap + fmt.Println("test222") _, err = CurVendorSync.SyncStore(ctx, db, storeMap.VendorID, storeID, false, userName) } else { dao.Rollback(db) @@ -3174,6 +3174,5 @@ func findSkusBetweenJdsMainStore(db *dao.DaoDB, storeID int) (skus []int) { skus = append(skus, v.SkuID) } } - fmt.Println("testskus", skus) return skus }