This commit is contained in:
richboo111
2022-10-10 10:44:53 +08:00
parent 60d00fda94
commit 10b061633b

View File

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