添加健康检测
This commit is contained in:
parent
5c33067dc6
commit
636e778fb1
@ -0,0 +1,17 @@
|
||||
package cn.axzo.nanopart.server.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class HealthCheckController {
|
||||
|
||||
/**
|
||||
* 探活
|
||||
*/
|
||||
@GetMapping("/checkDeath")
|
||||
public String checkDeath() {
|
||||
return "hello";
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user