diff --git a/business/partner/purchase/tiktok_store/store.go b/business/partner/purchase/tiktok_store/store.go index 7108178d9..6735dedca 100644 --- a/business/partner/purchase/tiktok_store/store.go +++ b/business/partner/purchase/tiktok_store/store.go @@ -82,7 +82,7 @@ func SplicingTimeToDoudian(openTime1, closeTime1, openTime2, closeTime2 int16) ( // shop/batchCreateStore 批量创建门店 func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName string, params map[string]interface{}, storeDetail *dao.StoreDetail) (vendorStoreID string, err error) { var ( - storeIDs string + //storeIDs string tempStoreID []int64 lists []shop_batchCreateStore_request.StoreListItem ShopBatchCreateStoreParam *shop_batchCreateStore_request.ShopBatchCreateStoreParam @@ -126,6 +126,7 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri if len(resp.ResultList) == 0 { return "", errors.New(fmt.Sprintf("创建店铺失败:%v", err)) } + var storeIDs string for k, v := range resp.ResultList { if k != len(resp.ResultList) { storeIDs = utils.Int64ToStr(v.Store.StoreId) + ","