添加心跳地址
This commit is contained in:
parent
9185c2c108
commit
a7682a7972
@ -0,0 +1,22 @@
|
|||||||
|
package cn.axzo.oss.client.controller;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 心跳控制器
|
||||||
|
*
|
||||||
|
* @author zhaoyong
|
||||||
|
* @see IndexController
|
||||||
|
* @since 2021-06-07 10:25
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
public class IndexController {
|
||||||
|
|
||||||
|
@RequestMapping(value = "/checkDeath", method = RequestMethod.GET)
|
||||||
|
public String index(){
|
||||||
|
return "ok";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user