|
|
@@ -0,0 +1,26 @@
|
|
|
+package cn.reghao.devops.manager.app.controller;
|
|
|
+
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author reghao
|
|
|
+ * @date 2023-11-02 13:39:54
|
|
|
+ */
|
|
|
+@Controller
|
|
|
+@RequestMapping("/app/log")
|
|
|
+public class AppLogController {
|
|
|
+ @ApiOperation(value = "应用实时日志页面")
|
|
|
+ @GetMapping(value = "/online")
|
|
|
+ public String appLogPage() {
|
|
|
+ return "/app/stat/log";
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "应用历史日志页面")
|
|
|
+ @GetMapping(value = "/offline")
|
|
|
+ public String appLog() {
|
|
|
+ return "/app/stat/log1";
|
|
|
+ }
|
|
|
+}
|