|
|
@@ -48,14 +48,14 @@ public class IotDeviceController {
|
|
|
* 物联设备详情查询
|
|
|
*/
|
|
|
@PostMapping("/getDeviceDetail")
|
|
|
- public HttpResult<DeviceDetailResp> getDeviceDetail(DeviceDetailReq req) {
|
|
|
+ public HttpResult<DeviceDetailResp> getDeviceDetail(@RequestBody DeviceDetailReq req) {
|
|
|
return HttpResult.success(iotDeviceManage.getDeviceDetail(req));
|
|
|
}
|
|
|
/**
|
|
|
* 分页查询物联设备
|
|
|
*/
|
|
|
@PostMapping("/pageDeviceDetail")
|
|
|
- public HttpResult<DevicePageResp> pageDeviceDetail(DeviceDetailReq req) {
|
|
|
+ public HttpResult<DevicePageResp> pageDeviceDetail(@RequestBody DeviceDetailReq req) {
|
|
|
return HttpResult.success(iotDeviceManage.pageDeviceDetail(req));
|
|
|
}
|
|
|
|