feat: 实现短信模块

This commit is contained in:
2025-12-17 23:01:13 +08:00
parent 54acad1671
commit 2ef3507cea
10 changed files with 286 additions and 13 deletions

View 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 { }