银豹api错误号
This commit is contained in:
@@ -93,7 +93,7 @@ func (a *API) AccessAPI(action string, bizParams map[string]interface{}) (retVal
|
||||
for _, v := range jsonResult1["messages"].([]interface{}) {
|
||||
errMsg += v.(string)
|
||||
}
|
||||
err = utils.NewErrorCode(errMsg, jsonResult1["errorCode"].(string))
|
||||
err = utils.NewErrorCode(errMsg, utils.Interface2String(jsonResult1["errorCode"]))
|
||||
baseapi.SugarLogger.Debugf("yinbao AccessAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
||||
}
|
||||
retVal = jsonResult1
|
||||
|
||||
Reference in New Issue
Block a user