feat: 实现短信模块
This commit is contained in:
13
apps/backend/src/sms/sms.module.ts
Normal file
13
apps/backend/src/sms/sms.module.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { SmsService } from './sms.service';
|
||||
import { SmsController } from './sms.controller';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { SmsRecord } from './entity/sms-record.entity';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([SmsRecord])],
|
||||
providers: [SmsService],
|
||||
controllers: [SmsController],
|
||||
exports: [SmsService],
|
||||
})
|
||||
export class SmsModule { }
|
||||
Reference in New Issue
Block a user