fix (farm): 设备中心
- 水肥机设备-修改属性接口
This commit is contained in:
@@ -104,7 +104,7 @@ public class DeviceInfoController {
|
|||||||
|
|
||||||
@PutMapping("/wf/property")
|
@PutMapping("/wf/property")
|
||||||
@Operation(summary = "水肥机-属性修改")
|
@Operation(summary = "水肥机-属性修改")
|
||||||
public CommonResult<Boolean> updateDevicePropertiesForWf(UpdateDevicePropertiesForWfReqVO reqVO) {
|
public CommonResult<Boolean> updateDevicePropertiesForWf(@Valid @RequestBody UpdateDevicePropertiesForWfReqVO reqVO) {
|
||||||
Boolean res = deviceInfoService.updateDevicePropertiesForWf(reqVO);
|
Boolean res = deviceInfoService.updateDevicePropertiesForWf(reqVO);
|
||||||
return success(res);
|
return success(res);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user