IndexController.java 647 B

12345678910111213141516171819202122232425
  1. package com.tzld.piaoquan.longarticle.controller;
  2. import com.tzld.piaoquan.longarticle.service.local.impl.MatchVideoServiceImpl;
  3. import org.checkerframework.checker.units.qual.A;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RestController;
  8. @RestController
  9. @RequestMapping("/")
  10. public class IndexController {
  11. /**
  12. * 探活
  13. *
  14. * @return
  15. */
  16. @GetMapping("/healthcheck")
  17. public String healthcheck() {
  18. return "ok";
  19. }
  20. }