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