返回 AiToEarn
reward.module.ts
根目录 / project / aitoearn-electron / server / src / modules / reward / reward.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: reward Reward 奖励模块
7 */
8 import { Module } from '@nestjs/common';
9 import { MongooseModule } from '@nestjs/mongoose';
10 import { SignInService } from './signIn.service';
11 import { SignInController } from './signIn.controller';
12 import { SignIn, SignInSchema } from 'src/db/schema/signIn.schema';
13
14 @Module({
15 imports: [
16 MongooseModule.forFeature([{ name: SignIn.name, schema: SignInSchema }]),
17 ],
18 controllers: [SignInController],
19 providers: [SignInService],
20 exports: [SignInService],
21 })
22 export class RewardModule {}
23
23 lines TYPESCRIPT