1
This commit is contained in:
@@ -84,7 +84,6 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
|||||||
fences []string
|
fences []string
|
||||||
lists []shop_batchCreateStore_request.StoreListItem
|
lists []shop_batchCreateStore_request.StoreListItem
|
||||||
ShopBatchCreateStoreParam *shop_batchCreateStore_request.ShopBatchCreateStoreParam
|
ShopBatchCreateStoreParam *shop_batchCreateStore_request.ShopBatchCreateStoreParam
|
||||||
FreightTemplate *model.FreightTemplate
|
|
||||||
)
|
)
|
||||||
errList := errlist.New()
|
errList := errlist.New()
|
||||||
//a:=getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID)
|
//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))
|
errList.AddErr(fmt.Errorf("storeIDs=0 %v", err))
|
||||||
//return "", errors.New(fmt.Sprintf("创建店铺失败原因storeIDs = 0:%v,%v", err, resp.ResultList[0].Msg))
|
//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)
|
globals.SugarLogger.Debug("storeDetail.Store.ID==============", storeDetail.Store.ID)
|
||||||
freightTemplateID, err := CreateFreightTemplate(storeDetail.Store.ID)
|
freightTemplateID, err := CreateFreightTemplate(storeDetail.Store.ID)
|
||||||
|
|||||||
Reference in New Issue
Block a user