|
@@ -0,0 +1,19 @@
|
|
|
|
+package com.cybertogether.wx.notice.web;
|
|
|
|
+
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * @author: TanJingyu
|
|
|
|
+ * @create:2023-06-14 16:19:11
|
|
|
|
+ **/
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/healthcheck")
|
|
|
|
+public class HealthCheckController {
|
|
|
|
+
|
|
|
|
+ @GetMapping
|
|
|
|
+ public String check() {
|
|
|
|
+ return "success";
|
|
|
|
+ }
|
|
|
|
+}
|