|
|
|
@@ -301,10 +301,7 @@ public class ApiController { |
|
|
|
public R broadcast(@RequestParam(value = "channel") String channel){ |
|
|
|
try { |
|
|
|
JSONObject json = new JSONObject(); |
|
|
|
R<JSONObject> objectR = remoteDigitalmanService.mansInfo(); |
|
|
|
JSONObject jsonObj = objectR.getData(); |
|
|
|
json.put("manCount", jsonObj.getIntValue("manCount")); |
|
|
|
json.put("serviceTimeCount", jsonObj.getLongValue("serviceTimeCount")); |
|
|
|
|
|
|
|
|
|
|
|
json.put("chatTimes", 865531); |
|
|
|
json.put("chatDurationCount", 10068); |
|
|
|
@@ -315,6 +312,9 @@ public class ApiController { |
|
|
|
json.put("meetingServiceCount", 1762); |
|
|
|
json.put("visitServiceCount", 523); |
|
|
|
|
|
|
|
R<JSONObject> objectR = remoteDigitalmanService.mansInfo(); |
|
|
|
JSONObject jsonObj = objectR.getData(); |
|
|
|
jsonObj.keySet().forEach(key -> json.put(key, jsonObj.get(key))); |
|
|
|
String str = json.toJSONString(); |
|
|
|
|
|
|
|
messageQueueService.broadcast(channel, str); |
|
|
|
|