返回 AiToEarn
realAuth.module.ts
根目录 / project / aitoearn-electron / server / src / lib / realAuth / realAuth.module.ts
1 /*
2 * @Author: nevin
3 * @Date: 2024-06-17 16:12:27
4 * @LastEditTime: 2025-02-25 09:47:37
5 * @LastEditors: nevin
6 * @Description: realAuth RealAuth
7 */
8 import { Module } from '@nestjs/common';
9 import { ConfigModule } from '@nestjs/config';
10 import realAuth from '../../../config/realAuth.config';
11 import { AlicloudRealAuthService } from './realAuth.service';
12
13 @Module({
14 imports: [
15 ConfigModule.forRoot({
16 load: [realAuth], // 加载自定义配置项
17 }),
18 ],
19 providers: [AlicloudRealAuthService],
20 exports: [AlicloudRealAuthService],
21 })
22 export class RealAuthModule {}
23
23 lines TYPESCRIPT