This commit is contained in:
diven 2026-07-09 22:26:53 +08:00
parent 4bb826818c
commit 9ecbba9b84
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package com.lyxh.api.docking.controller.common;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@RestController("healthController")
@RequestMapping("/health")
public class HealthController {
@RequestMapping(value = "/check", method = RequestMethod.GET)
public String check(){
return "ok";
}
}