feat: 添加爬虫统计信息页面和功能
新增爬虫统计信息页面,展示各来源的爬取数量、最新更新时间、错误信息等统计指标 后端添加爬虫统计信息存储和查询接口,记录每次爬取的结果 支持按关键词过滤招标信息查询
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { BidCrawlerService } from './services/bid-crawler.service';
|
||||
import { CrawlerController } from './crawler.controller';
|
||||
import { BidsModule } from '../bids/bids.module';
|
||||
import { CrawlInfoAdd } from './entities/crawl-info-add.entity';
|
||||
|
||||
@Module({
|
||||
imports: [BidsModule],
|
||||
imports: [BidsModule, TypeOrmModule.forFeature([CrawlInfoAdd])],
|
||||
controllers: [CrawlerController],
|
||||
providers: [BidCrawlerService],
|
||||
exports: [BidCrawlerService],
|
||||
|
||||
Reference in New Issue
Block a user