This commit is contained in:
2025-06-22 21:17:39 +08:00
parent 0eed6cfdbf
commit 063181da5a
16 changed files with 72 additions and 50 deletions

View File

@@ -25,7 +25,7 @@ import { AuthGuard } from '@nestjs/passport';
@UseGuards(AuthGuard('jwt'), RolesGuard)
@Roles(Role.Admin)
export class AdminUserController {
constructor(private readonly userService: UserService) { }
constructor(private readonly userService: UserService) {}
@Get()
async list(@Query() listDto: ListDto) {

View File

@@ -20,7 +20,7 @@ import { ResourceService } from 'src/resource/resource.service';
@UseGuards(AuthGuard('jwt'), RolesGuard)
@Roles(Role.Admin)
export class AdminWebResourceController {
constructor(private readonly resourceService: ResourceService) { }
constructor(private readonly resourceService: ResourceService) {}
@Get()
async list() {