feat: 添加爬虫统计信息页面和功能

新增爬虫统计信息页面,展示各来源的爬取数量、最新更新时间、错误信息等统计指标
后端添加爬虫统计信息存储和查询接口,记录每次爬取的结果
支持按关键词过滤招标信息查询
This commit is contained in:
dmy
2026-01-12 22:00:39 +08:00
parent 533d7b60fb
commit bfac194c14
10 changed files with 278 additions and 7 deletions

View File

@@ -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],