Files
TrisolarisServer/src/main/kotlin/com/android/trisolarisserver/controller/system/Health.kt
androidlover5842 9076ae6c93
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
Reorganize packages by domain
2026-02-01 17:23:21 +05:30

18 lines
493 B
Kotlin

package com.android.trisolarisserver.controller.system
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController
@RestController
class Health {
@GetMapping("/health")
fun health(): Map<String, String> {
return mapOf("status" to "ok", "build" to "2026-01-26-authfix")
}
@GetMapping("/")
fun root(): Map<String, String> {
return mapOf("status" to "ok", "build" to "2026-01-26-authfix")
}
}