Browse Source

增加健康检查地址

master
WendyYang 6 months ago
parent
commit
c007be608f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      kq-vas-api/src/main/java/com/ningdatech/kqapi/open/controller/HealthController.java

+ 2
- 2
kq-vas-api/src/main/java/com/ningdatech/kqapi/open/controller/HealthController.java View File

@@ -22,11 +22,11 @@ import java.time.format.DateTimeFormatter;
@Slf4j @Slf4j
@Validated @Validated
@RestController @RestController
@RequestMapping("/api/v1/open")
@RequestMapping("/api/v1/anonymous")
@RequiredArgsConstructor @RequiredArgsConstructor
public class HealthController { public class HealthController {


@GetMapping("/anonymous/health")
@GetMapping("/health")
public JSONObject health() { public JSONObject health() {
JSONObject json = new JSONObject(); JSONObject json = new JSONObject();
json.put("code", "200"); json.put("code", "200");


Loading…
Cancel
Save