|
|
@@ -39,8 +39,7 @@ public class StatusPageController {
|
|
|
@ApiOperation(value = "应用运行状态列表页面", notes = "N")
|
|
|
@GetMapping
|
|
|
public String statusPage1(@RequestParam(value = "env", required = false) String env,
|
|
|
- @RequestParam(value = "appType", required = false) String appType,
|
|
|
- @RequestParam(value = "status", required = false) Boolean status,
|
|
|
+ @RequestParam(value = "type", required = false) String appType,
|
|
|
@RequestParam(value = "appName", required = false) String appName,
|
|
|
Model model) {
|
|
|
if (env == null) {
|
|
|
@@ -51,10 +50,6 @@ public class StatusPageController {
|
|
|
appType = DefaultSetting.getDefaultAppType();
|
|
|
}
|
|
|
|
|
|
- if (status == null) {
|
|
|
- status = true;
|
|
|
- }
|
|
|
-
|
|
|
if (appName != null) {
|
|
|
Page<AppRunning> page = new PageImpl<>(Collections.emptyList());
|
|
|
PageList<AppRunning> pageList = PageList.empty();
|
|
|
@@ -70,7 +65,6 @@ public class StatusPageController {
|
|
|
|
|
|
model.addAttribute("env", env);
|
|
|
model.addAttribute("type", appType);
|
|
|
- model.addAttribute("status", status);
|
|
|
model.addAttribute("page", page);
|
|
|
model.addAttribute("list", page.getContent());
|
|
|
return "/devops/app/stat/index1";
|