|
@@ -0,0 +1,12 @@
|
|
|
+package com.sxtvs.open.api.health;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+public class HealthController {
|
|
|
+ @RequestMapping("hello")
|
|
|
+ public String hello() {
|
|
|
+ return "ok";
|
|
|
+ }
|
|
|
+}
|