diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 923f73a74..5c1030dbf 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1546,7 +1546,11 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend } } } else if vendorID == model.VendorIDDD { //抖店绑定店铺时 检查并补充创建 - err = tiktok_store.CreateOrUpdateAll(vendorOrgCode, int64(storeMap.StoreID), utils.Str2Int64(storeMap.VendorStoreID)) + globals.SugarLogger.Debugf("vendorID ==============%d", vendorID) + err2 := tiktok_store.CreateOrUpdateAll(vendorOrgCode, int64(storeMap.StoreID), utils.Str2Int64(storeMap.VendorStoreID)) + if err2 != nil { + return nil, err2 + } } storeMapList, err := dao.GetStoresMapList2(db, []int{vendorID}, []int{storeID}, nil, model.StoreStatusAll, model.StoreIsSyncAll, "", "", "", true)