- place detail error msg in ErrorWithCode when access jd api.
This commit is contained in:
@@ -217,7 +217,6 @@ func (a *API) AccessAPI(action string, params map[string]interface{}) (retVal *R
|
||||
newErr := utils.NewErrorIntCode(retVal.Message, code)
|
||||
return platformapi.ErrLevelCodeIsNotOK, newErr
|
||||
})
|
||||
|
||||
return retVal, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user