打日志
This commit is contained in:
@@ -166,6 +166,8 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
|
|||||||
if err != nil && strings.Contains(err.Error(), "门店内存在重复的分类:") {
|
if err != nil && strings.Contains(err.Error(), "门店内存在重复的分类:") {
|
||||||
globals.SugarLogger.Debugf("==========err %s", err.Error())
|
globals.SugarLogger.Debugf("==========err %s", err.Error())
|
||||||
storeCategoryList, err2 := api.RetailCatList(vendorStoreID)
|
storeCategoryList, err2 := api.RetailCatList(vendorStoreID)
|
||||||
|
globals.SugarLogger.Debugf("==========err2 %v", err2)
|
||||||
|
globals.SugarLogger.Debugf("==========err %s", utils.Format4Output(storeCategoryList, false))
|
||||||
if err2 != nil {
|
if err2 != nil {
|
||||||
err = err2
|
err = err2
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user