fix(system): 移除重复权限注解修饰符
- 删除TenantController中get方法上的多余@PreAuthorize注解 - 确保接口权限校验逻辑仅由其他配置统一管理 - 清理代码提高可读性和维护性
This commit is contained in:
@@ -64,7 +64,6 @@ public class TenantController extends BaseController {
|
||||
return success(tenantService.listRel(param));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('sys:tenant:list')")
|
||||
@Operation(summary = "根据id查询租户")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<Tenant> get(@PathVariable("id") Integer id) {
|
||||
|
||||
Reference in New Issue
Block a user