This commit is contained in:
邹宗楠
2023-10-18 12:41:49 +08:00
parent e7abdef59f
commit 0152cfb581
4 changed files with 5 additions and 4 deletions

View File

@@ -280,7 +280,8 @@ func (a *API) AccessAPI2(baseURL, action string, params map[string]interface{})
retVal.Message, _ = jsonResult1[msgKey].(string)
newErr := utils.NewErrorIntCode(retVal.Message, code)
if _, ok := exceedLimitCodes[code]; ok {
return platformapi.ErrLevelExceedLimit, newErr
//return platformapi.ErrLevelExceedLimit, newErr
return platformapi.ErrLevelRecoverableErr, newErr
}
return platformapi.ErrLevelCodeIsNotOK, newErr
})