refactor(系统设置): 补充tag

This commit is contained in:
WangXu10 2023-07-19 10:33:36 +08:00 committed by fit2-zhao
parent 41e0b1702d
commit dea6c43a66
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import io.metersphere.system.request.AuthSourceRequest;
import io.metersphere.system.service.AuthSourceLogService; import io.metersphere.system.service.AuthSourceLogService;
import io.metersphere.system.service.AuthSourceService; import io.metersphere.system.service.AuthSourceService;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource; import jakarta.annotation.Resource;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions; import org.apache.shiro.authz.annotation.RequiresPermissions;
@ -21,6 +22,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
@Tag(name = "认证设置")
@RestController @RestController
@RequestMapping("/system/authsource") @RequestMapping("/system/authsource")
public class AuthSourceController { public class AuthSourceController {

View File

@ -15,6 +15,7 @@ import io.metersphere.system.dto.response.OrganizationProjectOptionsResponse;
import io.metersphere.system.service.OrganizationService; import io.metersphere.system.service.OrganizationService;
import io.metersphere.system.service.SystemProjectService; import io.metersphere.system.service.SystemProjectService;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource; import jakarta.annotation.Resource;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.Logical; import org.apache.shiro.authz.annotation.Logical;
@ -24,6 +25,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
@Tag(name = "系统日志")
@RestController @RestController
@RequestMapping("/operation/log") @RequestMapping("/operation/log")
public class OperationLogController { public class OperationLogController {