feat(electron): 添加Electron桌面应用支持
- 新增Electron主进程、预加载脚本和构建配置 - 修改前端配置以支持Electron打包 - 更新项目文档和依赖 - 重构API调用使用统一axios实例
This commit is contained in:
@@ -24,7 +24,19 @@ interface CrawlResult {
|
||||
url: string;
|
||||
}
|
||||
|
||||
type AnyCrawler = typeof ChdtpCrawler | typeof ChngCrawler | typeof SzecpCrawler | typeof CdtCrawler | typeof EpsCrawler | typeof CnncecpCrawler | typeof CgnpcCrawler | typeof CeicCrawler | typeof EspicCrawler | typeof PowerbeijingCrawler | typeof SdiccCrawler | typeof CnoocCrawler;
|
||||
type AnyCrawler =
|
||||
| typeof ChdtpCrawler
|
||||
| typeof ChngCrawler
|
||||
| typeof SzecpCrawler
|
||||
| typeof CdtCrawler
|
||||
| typeof EpsCrawler
|
||||
| typeof CnncecpCrawler
|
||||
| typeof CgnpcCrawler
|
||||
| typeof CeicCrawler
|
||||
| typeof EspicCrawler
|
||||
| typeof PowerbeijingCrawler
|
||||
| typeof SdiccCrawler
|
||||
| typeof CnoocCrawler;
|
||||
|
||||
@Injectable()
|
||||
export class BidCrawlerService {
|
||||
|
||||
Reference in New Issue
Block a user