|
|
@@ -52,6 +52,7 @@ public class IotDeviceController {
|
|
|
public Result<Object> save(@RequestBody @Validated IotDevicePara iotDevicePara) {
|
|
|
return Result.ok(iotDeviceService.save(iotDevicePara), "保存成功");
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 修改设备
|
|
|
*
|
|
|
@@ -62,6 +63,7 @@ public class IotDeviceController {
|
|
|
public Result<Object> update(@RequestBody @Validated IotDevicePara iotDevicePara) {
|
|
|
return Result.ok(iotDeviceService.update(iotDevicePara), "修改成功");
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 设备详情
|
|
|
*
|