2026-01-09 23:18:52 +08:00
|
|
|
import { Module } from '@nestjs/common';
|
2026-01-12 22:00:39 +08:00
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
2026-01-09 23:18:52 +08:00
|
|
|
import { BidCrawlerService } from './services/bid-crawler.service';
|
|
|
|
|
import { CrawlerController } from './crawler.controller';
|
|
|
|
|
import { BidsModule } from '../bids/bids.module';
|
2026-01-12 22:00:39 +08:00
|
|
|
import { CrawlInfoAdd } from './entities/crawl-info-add.entity';
|
2026-01-09 23:18:52 +08:00
|
|
|
|
|
|
|
|
@Module({
|
2026-01-12 22:00:39 +08:00
|
|
|
imports: [BidsModule, TypeOrmModule.forFeature([CrawlInfoAdd])],
|
2026-01-09 23:18:52 +08:00
|
|
|
controllers: [CrawlerController],
|
|
|
|
|
providers: [BidCrawlerService],
|
|
|
|
|
exports: [BidCrawlerService],
|
|
|
|
|
})
|
|
|
|
|
export class CrawlerModule {}
|