1
This commit is contained in:
@@ -202,8 +202,6 @@ var errList = make([]string, 0, 0)
|
||||
// 删除商品分类
|
||||
// 当分类下存在子级分类或商品时,不允许直接删除此分类。
|
||||
func (a *API) RetailCatDelete(poiCode, code, name string) (err error) {
|
||||
globals.SugarLogger.Debugf("RetailCatDelete======poiCode %s", poiCode)
|
||||
globals.SugarLogger.Debugf("RetailCatDelete======name %s", name)
|
||||
params := map[string]interface{}{
|
||||
KeyAppPoiCode: poiCode,
|
||||
}
|
||||
@@ -226,7 +224,6 @@ func (a *API) RetailCatList(poiCode string) (retailCatList []*RetailCategoryInfo
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("RetailCatList==========err %v", err)
|
||||
}
|
||||
globals.SugarLogger.Debugf("result==========err %s", utils.Format4Output(result, false))
|
||||
|
||||
if err == nil {
|
||||
return interface2CatList(result, 1, nil), nil
|
||||
@@ -525,7 +522,6 @@ func (a *API) BatchSetRestockingPrice(trackInfo, appPoiCode string, spuData []*S
|
||||
KeyAppPoiCode: appPoiCode,
|
||||
"spu_data": spuData,
|
||||
}, resultKeyMsg, trackInfo)
|
||||
globals.SugarLogger.Debugf("BatchSetRestockingPrice retVal====%v err===========%v", retVal, err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user