This commit is contained in:
邹宗楠
2023-09-22 10:20:53 +08:00
parent c20d32e975
commit f5c35458c3
4 changed files with 21 additions and 6 deletions

View File

@@ -189,7 +189,11 @@ func (a *API) RetailCatUpdate(poiCode, catName string, updateParams *Param4Updat
params["category_name"] = catName
time.Sleep(200 * time.Millisecond)
_, err = a.AccessAPI("retailCat/update", false, params)
revtel, err := a.AccessAPI("retailCat/update", false, params)
if err != nil {
globals.SugarLogger.Debugf("=======RetailCatUpdate : %v", err)
globals.SugarLogger.Debugf("=======RetailCatUpdate : %v", revtel)
}
return err
}