From a6261816bb21be1e79a2b6bb3777f3e021ead66f Mon Sep 17 00:00:00 2001 From: ludj Date: Tue, 22 Nov 2022 16:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=94=B9=E4=B8=BA=E5=8C=BF?= =?UTF-8?q?=E5=90=8D=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/modules/system/rest/MonitorController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/modules/system/rest/MonitorController.java b/mes/hd/nladmin-system/src/main/java/org/nl/modules/system/rest/MonitorController.java index f5536f76..5e56748a 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/modules/system/rest/MonitorController.java +++ b/mes/hd/nladmin-system/src/main/java/org/nl/modules/system/rest/MonitorController.java @@ -18,6 +18,7 @@ package org.nl.modules.system.rest; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; +import org.nl.annotation.rest.AnonymousGetMapping; import org.nl.modules.system.service.MonitorService; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; @@ -36,7 +37,7 @@ public class MonitorController { private final MonitorService serverService; - @GetMapping + @AnonymousGetMapping @ApiOperation("查询服务监控") @PreAuthorize("@el.check('monitor:list')") public ResponseEntity query(){