This commit is contained in:
邹宗楠
2023-02-20 15:08:23 +08:00
parent 69057888e1
commit bb8ab7e5c2
2 changed files with 2 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
err = p.CreateStoreCategory(ctx, storeID, vendorStoreID, storeCat)
}
if err != nil && strings.Contains(err.Error(), "门店内存在重复的分类:") {
globals.SugarLogger.Debugf("==========err %s", err.Error())
storeCategoryList, err2 := api.RetailCatList(vendorStoreID)
if err2 != nil {
err = err2