This commit is contained in:
gazebo
2019-06-24 21:38:18 +08:00
parent d2597c2673
commit dffbae5430
5 changed files with 33 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ func (a *API) AccessStorePage(fullURL string, formData map[string]interface{}) (
retVal = jsonResult1
code := jsonResult1["code"].(string)
if code == ResponseCodeSuccess {
retVal = jsonResult1["result"].(map[string]interface{})
retVal, _ = jsonResult1["result"].(map[string]interface{})
return platformapi.ErrLevelSuccess, nil
}
newErr := utils.NewErrorCode(jsonResult1["msg"].(string), code)