Package com.bytedesk.starter.controller
Class SystemStatusController
java.lang.Object
com.bytedesk.starter.controller.SystemStatusController
系统状态监控控制器
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
获取服务状态 http://127.0.0.1:9003/system/servicesorg.springframework.http.ResponseEntity<?>
获取系统健康状态 http://127.0.0.1:9003/system/healthorg.springframework.http.ResponseEntity<?>
获取系统基本信息 http://127.0.0.1:9003/system/infoorg.springframework.http.ResponseEntity<?>
获取系统详细状态 http://127.0.0.1:9003/system/status
-
Field Details
-
systemStatusService
-
-
Constructor Details
-
SystemStatusController
public SystemStatusController()
-
-
Method Details
-
getSystemStatus
@GetMapping("/status") public org.springframework.http.ResponseEntity<?> getSystemStatus()获取系统详细状态 http://127.0.0.1:9003/system/status -
getSystemHealth
@GetMapping("/health") public org.springframework.http.ResponseEntity<?> getSystemHealth()获取系统健康状态 http://127.0.0.1:9003/system/health -
getSystemInfo
@GetMapping("/info") public org.springframework.http.ResponseEntity<?> getSystemInfo()获取系统基本信息 http://127.0.0.1:9003/system/info -
getServicesStatus
@GetMapping("/services") public org.springframework.http.ResponseEntity<?> getServicesStatus()获取服务状态 http://127.0.0.1:9003/system/services
-