设备详情安防页面数据第一版
This commit is contained in:
@ -112,7 +112,20 @@ public class DeviceDetailController extends BaseController {
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取安防信息
|
||||
* @param deviceId 传参
|
||||
* @return com.fastbee.common.core.domain.AjaxResult
|
||||
*/
|
||||
@ApiOperation("获取安防信息")
|
||||
@GetMapping("/anfangInfo")
|
||||
public AjaxResult anfangInfo(Long deviceId)
|
||||
{
|
||||
if (null == deviceId || deviceId == 0L) {
|
||||
return AjaxResult.error("请传入设备号");
|
||||
}
|
||||
return AjaxResult.success(deviceDetailService.anfangInfo(deviceId));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user