diff --git a/backend/services/identity-service/src/api/controllers/pending-action.controller.ts b/backend/services/identity-service/src/api/controllers/pending-action.controller.ts index 306b528a..fb96ae13 100644 --- a/backend/services/identity-service/src/api/controllers/pending-action.controller.ts +++ b/backend/services/identity-service/src/api/controllers/pending-action.controller.ts @@ -21,6 +21,7 @@ import { JwtAuthGuard, CurrentUser, CurrentUserData, + Public, } from '@/shared/guards/jwt-auth.guard'; import { CreatePendingActionDto, @@ -110,6 +111,7 @@ export class PendingActionController { @ApiTags('用户待办操作 - 后台管理') @Controller('admin/pending-actions') +@Public() // 管理后台通过 admin-service 验证身份,此处跳过 JWT 验证 export class AdminPendingActionController { constructor(private readonly pendingActionService: PendingActionService) {}