|
|
@ -22,7 +22,7 @@ public class SystemController { |
|
|
|
private final SystemService systemService; |
|
|
|
private final DeviceState deviceState; |
|
|
|
|
|
|
|
@Operation(summary = "获取当前系统状态") |
|
|
|
@Operation(summary = "获取当前设备状态") |
|
|
|
@GetMapping("/device-status") |
|
|
|
public Result<?> getDeviceStatus() { |
|
|
|
return Result.success(deviceState.toJSON()); |
|
|
|