返回 AiToEarn
platAuth.module.ts
根目录 / project / aitoearn-electron / server / src / lib / platAuth / platAuth.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: platAuth PlatAuth
7 */
8 import { Module } from '@nestjs/common';
9 import { ConfigModule } from '@nestjs/config';
10 import wxConfig from '../../../config/wx.config';
11 import { PlatAuthWxGzhService } from './wxGzh.service';
12
13 @Module({
14 imports: [
15 ConfigModule.forRoot({
16 load: [wxConfig], // 加载自定义配置项
17 }),
18 ],
19 providers: [PlatAuthWxGzhService],
20 exports: [PlatAuthWxGzhService],
21 })
22 export class PlatAuthModule {}
23
23 lines TYPESCRIPT