- debug msg
This commit is contained in:
@@ -344,7 +344,7 @@ func (a *API) AccessAPIHavePage(apiStr string, jdParams map[string]interface{},
|
||||
innerCode := forceInnerCode2Str(data["code"])
|
||||
if innerCode != "0" {
|
||||
err2 := utils.NewErrorCode(getErrMsgFromData(data), innerCode, 1)
|
||||
baseapi.SugarLogger.Infof("AccessAPIHavePage failed, data:%s, error:%v", utils.Format4Output(jsonResult, true), err2)
|
||||
baseapi.SugarLogger.Infof("AccessAPIHavePage failed, apiStr:%s, jdParams:%s, data:%s, error:%v", apiStr, utils.Format4Output(jdParams, true), utils.Format4Output(jsonResult, true), err2)
|
||||
return nil, totalCount, err2
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user