fix (farm): 设备中心

- 水肥机设备-修改属性接口
This commit is contained in:
达富斌
2025-10-10 21:09:46 +08:00
parent 64f80d239d
commit 10a10811fe

View File

@@ -104,7 +104,7 @@ public class DeviceInfoController {
@PutMapping("/wf/property")
@Operation(summary = "水肥机-属性修改")
public CommonResult<Boolean> updateDevicePropertiesForWf(UpdateDevicePropertiesForWfReqVO reqVO) {
public CommonResult<Boolean> updateDevicePropertiesForWf(@Valid @RequestBody UpdateDevicePropertiesForWfReqVO reqVO) {
Boolean res = deviceInfoService.updateDevicePropertiesForWf(reqVO);
return success(res);
}