From 4f37afbcdc65685ca28c8545c6d55fbfdc1f0ea8 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 10 Oct 2022 15:38:59 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/tiktok_store/store.go b/business/partner/purchase/tiktok_store/store.go index d56180e19..73cd287c3 100644 --- a/business/partner/purchase/tiktok_store/store.go +++ b/business/partner/purchase/tiktok_store/store.go @@ -84,7 +84,6 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri fences []string lists []shop_batchCreateStore_request.StoreListItem ShopBatchCreateStoreParam *shop_batchCreateStore_request.ShopBatchCreateStoreParam - FreightTemplate *model.FreightTemplate ) errList := errlist.New() //a:=getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID) @@ -136,6 +135,7 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri errList.AddErr(fmt.Errorf("storeIDs=0 %v", err)) //return "", errors.New(fmt.Sprintf("创建店铺失败原因storeIDs = 0:%v,%v", err, resp.ResultList[0].Msg)) } + var FreightTemplate *model.FreightTemplate //创建并绑定运费模板 globals.SugarLogger.Debug("storeDetail.Store.ID==============", storeDetail.Store.ID) freightTemplateID, err := CreateFreightTemplate(storeDetail.Store.ID)