1
This commit is contained in:
@@ -250,7 +250,11 @@ func CreateOrUpdateAll(vendorOrgCode string, storeID, vendorStoreID int64) error
|
||||
if err = dao.CreateEntity(db, FreightTemplate); err != nil {
|
||||
errList.AddErr(fmt.Errorf("db update storeID,vendorStoreID defeat on :%v", err))
|
||||
}
|
||||
return errors.New(fmt.Sprintf("%s", utils.Format4Output(errList, true)))
|
||||
if utils.IsNil(errList) {
|
||||
return errors.New(fmt.Sprintf("%s", utils.Format4Output(errList, true)))
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// shop/editStore 编辑门店信息 正向推送平台
|
||||
|
||||
Reference in New Issue
Block a user