Browse Source

增加健康检查地址

master
WendyYang 3 weeks 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
@Validated
@RestController
@RequestMapping("/api/v1/open")
@RequestMapping("/api/v1/anonymous")
@RequiredArgsConstructor
public class HealthController {

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


Loading…
Cancel
Save