|
@@ -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!";
|
|
|
+ }
|
|
|
+
|
|
|
+}
|