1
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user