This commit is contained in:
邹宗楠
2023-10-19 16:25:15 +08:00
parent 5cf9240b2c
commit c178cc7bea
2 changed files with 15 additions and 14 deletions

View File

@@ -182,7 +182,7 @@ func (a *API) AccessAPI(apiStr string, params map[string]interface{}) (retVal in
}
newErr := utils.NewErrorIntCode(utils.Interface2String(jsonResult1["message"]), status)
if _, ok := exceedLimitCodes[status]; ok {
return platformapi.ErrLevelExceedLimit, newErr
return platformapi.ErrLevelRecoverableErr, newErr
} else if _, ok := canRetryCodes[status]; ok {
return platformapi.ErrLevelRecoverableErr, newErr
} else {