1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user