1
This commit is contained in:
@@ -131,8 +131,7 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
|||||||
storeIDs += utils.Int64ToStr(v.Store.StoreId)
|
storeIDs += utils.Int64ToStr(v.Store.StoreId)
|
||||||
}
|
}
|
||||||
if utils.Str2Int(storeIDs) == 0 {
|
if utils.Str2Int(storeIDs) == 0 {
|
||||||
globals.SugarLogger.Debug("ShopBatchCreateStoreParam======&&failMsg=======", ShopBatchCreateStoreParam, resp.ResultList[0].Msg)
|
return "", errors.New(fmt.Sprintf("创建店铺失败原因storeIDs = 0:%v,%v", err, resp.ResultList[0].Msg))
|
||||||
return "", errors.New(fmt.Sprintf("创建店铺失败原因:utils.Str2Int(storeIDs) == 0:%v", resp.ResultList[0].Msg))
|
|
||||||
}
|
}
|
||||||
//创建并绑定运费模板
|
//创建并绑定运费模板
|
||||||
freightTemplateID, err := CreateFreightTemplate(storeDetail.Store.ID)
|
freightTemplateID, err := CreateFreightTemplate(storeDetail.Store.ID)
|
||||||
|
|||||||
Reference in New Issue
Block a user