+PrivilegeSearchUser
AccessStorePage2支持返回非json
This commit is contained in:
@@ -281,6 +281,10 @@ func (a *API) AccessStorePage2(fullURL string, params map[string]interface{}, is
|
||||
if jsonResult1 == nil {
|
||||
return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil")
|
||||
}
|
||||
if jsonResult1[platformapi.KeyData] != nil {
|
||||
retVal = bodyStr
|
||||
return platformapi.ErrLevelSuccess, nil
|
||||
}
|
||||
retVal = jsonResult1
|
||||
code, ok := jsonResult1["code"].(string)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user