- fix unittest bug caused by sugarLogger.
This commit is contained in:
@@ -182,7 +182,7 @@ func (j *JDAPI) AccessJDQuery(apiStr string, jdParams map[string]string) (retVal
|
||||
retVal = jsonResult1
|
||||
return common.PAErrorLevelSuccess, nil
|
||||
}
|
||||
baseapi.SugarLogger.Debugf("jd code is:%s", code)
|
||||
baseapi.SugarLogger.Debug(jsonResult1)
|
||||
if _, ok := exceedLimitCodes[code]; ok {
|
||||
return common.PAErrorLevelExceedLimit, nil
|
||||
} else if _, ok := canRetryCodes[code]; ok {
|
||||
|
||||
Reference in New Issue
Block a user