IndexController.java 447 B

1234567891011121314151617181920
  1. package com.tzld.piaoquan.wecom.controller;
  2. import org.springframework.web.bind.annotation.GetMapping;
  3. import org.springframework.web.bind.annotation.RequestMapping;
  4. import org.springframework.web.bind.annotation.RestController;
  5. @RestController
  6. @RequestMapping("/")
  7. public class IndexController {
  8. /**
  9. * 探活
  10. *
  11. * @return
  12. */
  13. @GetMapping("/healthcheck")
  14. public String healthcheck() {
  15. return "ok";
  16. }
  17. }