添加心跳地址

This commit is contained in:
zhaoyong 2021-07-23 10:53:34 +08:00
parent 9185c2c108
commit a7682a7972

View File

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