|
@@ -1,6 +1,7 @@
|
1
|
1
|
package com.community.huiju.service.impl;
|
2
|
2
|
|
3
|
3
|
import com.alibaba.fastjson.JSON;
|
|
4
|
+import com.alibaba.fastjson.JSONObject;
|
4
|
5
|
import com.community.commom.mode.ResponseBean;
|
5
|
6
|
import com.community.huiju.common.hk.HKConstant;
|
6
|
7
|
import com.community.huiju.common.hk.HKOpenApi;
|
|
@@ -34,7 +35,8 @@ public class MonitoringServiceImpl implements IMonitoringService {
|
34
|
35
|
parMap.put("opUserUuid",HKConstant.OP_USER_UUID);
|
35
|
36
|
parMap.put("unitUuids","1048576");
|
36
|
37
|
String result = HKOpenApi.getMonitoryPoint(parMap);
|
37
|
|
- response.addSuccess(result);
|
|
38
|
+ Map<String, Object> map = JSONObject.parseObject(result,HashMap.class);
|
|
39
|
+ response.addSuccess(map);
|
38
|
40
|
return response;
|
39
|
41
|
}
|
40
|
42
|
}
|