check alive

This commit is contained in:
陈宁 2023-06-02 15:23:39 +08:00
parent 1ecba8e76f
commit f344d25743

View File

@ -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";
}
}