This commit is contained in:
邹宗楠
2023-10-12 17:14:58 +08:00
parent 16dc42708e
commit c09faee574
3 changed files with 10 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
package mtwmapi
import (
"git.rosy.net.cn/jx-callback/globals"
"math"
"strings"
@@ -61,6 +62,12 @@ func (a *API) CommentQuery(poiCode string, startDateStr, endDateStr string, offs
params["pageoffset"] = offset
params["pagesize"] = limit
result, err := a.AccessAPI("comment/query", true, params)
if poiCode == "18805464" {
globals.SugarLogger.Debugf("param :==== %s", utils.Format4Output(params, false))
globals.SugarLogger.Debugf("result :==== %s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("err :==== %v", err)
globals.SugarLogger.Debugf("token :==== %s", a.token)
}
if err != nil {
return nil, err
}