|

楼主 |
发表于 2018-5-7 15:21:52
|
显示全部楼层
public JSONObject getOnlineData(String prefix){
try{
//阻塞位置
ActionResult ar2=ActionEngine.invokeActions(prefix+"/BusinessServer/onlineUsers", null, null, null, ActionUtils.JSON_CONTENT_TYPE,"", null, null, "get", null);
if (ar2.isSuccess()){
//return json.getJSONObject("value").getJSONArray("rows");
return (JSONObject)ar2.getContent();
}else{
System.out.println(prefix+"没有启动!!!!");
}
return null;
}catch(Exception e){
return null;
}
} |
|