✨ check alive
This commit is contained in:
parent
1ecba8e76f
commit
f344d25743
@ -0,0 +1,23 @@
|
|||||||
|
package cn.axzo.msg.center.webapi;
|
||||||
|
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: liyong.tian
|
||||||
|
* @Date: 2022/11/25 18:00
|
||||||
|
* @Description: 健康检查接口
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class HealthCheckController {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 探活
|
||||||
|
*/
|
||||||
|
@GetMapping("/checkDeath")
|
||||||
|
public String checkDeath() {
|
||||||
|
return "hello";
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user