- place detail error msg in ErrorWithCode when access jd api.

This commit is contained in:
gazebo
2018-07-22 13:49:49 +08:00
parent b4090f2c41
commit 0bab97ed2a
5 changed files with 4 additions and 12 deletions

View File

@@ -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
}