feat: 完成yi.tool.web爬虫

This commit is contained in:
橙子
2024-06-09 00:29:53 +08:00
parent f44a099469
commit f267d820bf
11 changed files with 144 additions and 10 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Yi.Abp.Tool.Domain;
namespace Yi.Abp.Tool.Application
{
public class NueGetInfoService : ApplicationService
{
private NugetCrawlerManager _nugetCrawlerManager;
public NueGetInfoService(NugetCrawlerManager nugetCrawlerManager) { _nugetCrawlerManager = nugetCrawlerManager; }
/// <summary>
/// 获取爬虫结果
/// </summary>
/// <returns></returns>
public NugetResult GetInfo()
{
return _nugetCrawlerManager.GetNugetResult();
}
}
}