This commit is contained in:
richboo111
2022-10-10 15:38:59 +08:00
parent 1863b522ed
commit 4f37afbcdc

View File

@@ -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)