master
ehlxr 2021-09-01 10:58:56 +08:00
parent aa73622a34
commit 42da65cf47
4 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,6 @@
<groupId>io.github.ehlxr</groupId>
<artifactId>budd</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>budd-common</artifactId>
<name>budd-common</name>

View File

@ -5,7 +5,6 @@
<groupId>io.github.ehlxr</groupId>
<artifactId>budd</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>budd-demo</artifactId>
<name>budd-demo</name>

View File

@ -5,7 +5,6 @@
<groupId>io.github.ehlxr</groupId>
<artifactId>budd</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>budd-server</artifactId>
<name>budd-server</name>

View File

@ -26,6 +26,8 @@ package io.github.ehlxr.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@ -36,6 +38,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
@Api(tags = "测试辅助接口")
public class IndexController {
private static final Logger log = LoggerFactory.getLogger(IndexController.class);
/**
*
@ -43,6 +46,8 @@ public class IndexController {
@ApiOperation(value = "健康检测", notes = "健康检测")
@GetMapping("/healthcheck")
public String healthcheck() {
log.debug("env {}", System.getProperty("env"));
return "ok";
}