1
This commit is contained in:
@@ -122,7 +122,7 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
||||
return "", err
|
||||
} else {
|
||||
if len(resp.ResultList) == 0 {
|
||||
return "", errors.New("创建店铺失败,请检查店铺基本信息")
|
||||
return "", errors.New("创建店铺失败原因:len(resp.ResultList) == 0")
|
||||
}
|
||||
for k, v := range resp.ResultList {
|
||||
if k != len(resp.ResultList) {
|
||||
@@ -131,7 +131,7 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
||||
storeIDs += utils.Int64ToStr(v.Store.StoreId)
|
||||
}
|
||||
if utils.Str2Int(storeIDs) == 0 {
|
||||
return "", errors.New("创建店铺失败,请检查店铺基本信息")
|
||||
return "", errors.New("创建店铺失败原因:utils.Str2Int(storeIDs) == 0")
|
||||
}
|
||||
//创建并绑定运费模板
|
||||
freightTemplateID, err := CreateFreightTemplate(storeDetail.Store.ID)
|
||||
|
||||
Reference in New Issue
Block a user