wallet.module.ts 504 B

12345678910111213141516
  1. /**
  2. * 钱包模块 - 注入 PaymentsService 用于充值订单
  3. */
  4. import { Module } from '@nestjs/common';
  5. import { WalletService } from './wallet.service';
  6. import { WalletController } from './wallet.controller';
  7. import { AuthModule } from '../auth/auth.module';
  8. import { PaymentsModule } from '../payments/payments.module';
  9. @Module({
  10. imports: [AuthModule, PaymentsModule],
  11. controllers: [WalletController],
  12. providers: [WalletService],
  13. exports: [WalletService],
  14. })
  15. export class WalletModule {}