diff --git a/src/gateway/auth/auth.gateway.module.ts b/src/gateway/auth/auth.gateway.module.ts index c3b08b1..ea23bdd 100644 --- a/src/gateway/auth/auth.gateway.module.ts +++ b/src/gateway/auth/auth.gateway.module.ts @@ -29,11 +29,14 @@ import { LoginController } from './login.controller'; import { RegisterController } from './register.controller'; import { JwtAuthGuard } from './jwt_auth.guard'; import { AuthModule } from '../../business/auth/auth.module'; +import { LoginCoreModule } from '../../core/login_core/login_core.module'; @Module({ imports: [ // 导入业务层模块 AuthModule, + // 导入核心层模块(JwtAuthGuard需要LoginCoreService) + LoginCoreModule, ], controllers: [ // 网关层控制器