This commit is contained in:
gazebo
2019-09-09 14:24:05 +08:00
parent 882c4ff531
commit a1c5ec77ff

View File

@@ -252,13 +252,6 @@ func (a *API) ShopCategoryUpdate(shopID string, categoryID int64, name string, r
"name": name,
"rank": rank,
})
// todo, 之前为什么要忽略同名错误?
// if errWithCode, ok := err.(*utils.ErrorWithCode); ok {
// if errWithCode.Level() == 0 && errWithCode.IntCode() == 1 { //忽略同名错误
// err = nil
// }
// }
return err
}