|
@ -2,6 +2,7 @@ package com.yihu.iot.controller.monitorPlatform;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
import com.yihu.iot.service.company.IotCompanyService;
|
|
|
import com.yihu.iot.service.device.IotPatientDeviceService;
|
|
|
import com.yihu.iot.service.dict.IotSystemDictService;
|
|
|
import com.yihu.iot.service.equipment.IotEqtDetailService;
|
|
@ -45,6 +46,8 @@ public class MonitorPlatformController extends EnvelopRestEndpoint {
|
|
|
private IotPatientDeviceService iotPatientDeviceService;
|
|
|
@Autowired
|
|
|
private IotEqtDetailService iotEqtDetailService;
|
|
|
@Autowired
|
|
|
private IotCompanyService iotCompanyService;
|
|
|
|
|
|
|
|
|
@PostMapping(value = IotRequestMapping.PatientDevice.addPatientDevice)
|
|
@ -729,4 +732,15 @@ public class MonitorPlatformController extends EnvelopRestEndpoint {
|
|
|
|
|
|
}
|
|
|
|
|
|
@ApiOperation("大屏应用服务")
|
|
|
@RequestMapping(value = "/getAppService" , method = RequestMethod.GET)
|
|
|
public Envelop getAppService() {
|
|
|
try {
|
|
|
return success(iotCompanyService.getAppService());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return MixEnvelop.getError("查询失败");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|