From dea6c43a660b128814e070edf8cd07777afefc88 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 19 Jul 2023 10:33:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E8=A1=A5=E5=85=85tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/system/controller/AuthSourceController.java | 2 ++ .../metersphere/system/controller/OperationLogController.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/controller/AuthSourceController.java b/backend/services/system-setting/src/main/java/io/metersphere/system/controller/AuthSourceController.java index eb9ca749d7..ff725a9cde 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/controller/AuthSourceController.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/controller/AuthSourceController.java @@ -13,6 +13,7 @@ import io.metersphere.system.request.AuthSourceRequest; import io.metersphere.system.service.AuthSourceLogService; import io.metersphere.system.service.AuthSourceService; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.annotation.Resource; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; @@ -21,6 +22,7 @@ import org.springframework.web.bind.annotation.*; import java.util.List; +@Tag(name = "认证设置") @RestController @RequestMapping("/system/authsource") public class AuthSourceController { diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/controller/OperationLogController.java b/backend/services/system-setting/src/main/java/io/metersphere/system/controller/OperationLogController.java index 66e6b1558d..cdfcfcb1ef 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/controller/OperationLogController.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/controller/OperationLogController.java @@ -15,6 +15,7 @@ import io.metersphere.system.dto.response.OrganizationProjectOptionsResponse; import io.metersphere.system.service.OrganizationService; import io.metersphere.system.service.SystemProjectService; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.annotation.Resource; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.authz.annotation.Logical; @@ -24,6 +25,7 @@ import org.springframework.web.bind.annotation.*; import java.util.List; +@Tag(name = "系统日志") @RestController @RequestMapping("/operation/log") public class OperationLogController {