xda před 2 roky
rodič
revize
ff2fc22a13

+ 21 - 0
src/main/java/com/winhc/repal/controller/LiveController.java

@@ -0,0 +1,21 @@
+package com.winhc.repal.controller;
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @Description: EurekaController
+ * @Author: xda
+ * @Date: 2021/5/11 13:37
+ */
+@RestController
+public class LiveController {
+
+
+    @RequestMapping(value = "/isLive", method = RequestMethod.GET)
+    public String isLive() {
+        return "repal-service is ok!";
+    }
+
+}