返回 AiToEarn
gzh.module.ts
根目录 / project / aitoearn-electron / server / src / modules / plat / gzh / gzh.module.ts
1 /*
2 * @Author: nevin
3 * @Date: 2025-03-01 19:27:26
4 * @LastEditTime: 2025-04-27 17:36:19
5 * @LastEditors: nevin
6 * @Description: Gzh 公众号模块
7 */
8 import { Module } from '@nestjs/common';
9 import { MongooseModule } from '@nestjs/mongoose';
10 import { SignIn, SignInSchema } from 'src/db/schema/signIn.schema';
11 import { GzhController } from './gzh.controller';
12 import { GzhService } from './gzh.service';
13
14 @Module({
15 imports: [
16 MongooseModule.forFeature([{ name: SignIn.name, schema: SignInSchema }]),
17 ],
18 controllers: [GzhController],
19 providers: [GzhService],
20 exports: [GzhService],
21 })
22 export class GzhModule {}
23
23 lines TYPESCRIPT