设备组负载
This commit is contained in:
@@ -70,6 +70,19 @@ public class DeviceGroupController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置组内设备负载
|
||||
*
|
||||
* @param loadWeight 参数
|
||||
* @return void
|
||||
*/
|
||||
@PostMapping("/weight")
|
||||
@AuditControllerLog(description = "修改设备负载", operateType = AuditLogConst.UPDATE)
|
||||
public R<Void> updateLoadWeight(@Valid @RequestBody DeviceGroupDTO.LoadWeight loadWeight) {
|
||||
deviceGroupService.updateLoadWeight(loadWeight);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除设备组
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user