mirror of
https://github.com/Megghy/MegghysAPI.git
synced 2025-12-06 14:16:56 +08:00
降低pixiv刷新次数
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<Nullable>disable</Nullable>
|
||||
<Nullable>annotations</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FreeSql.Extensions.JsonMap" Version="3.5.104" />
|
||||
<PackageReference Include="FreeSql.Provider.PostgreSQL" Version="3.5.104" />
|
||||
<PackageReference Include="Masuit.Tools.Core" Version="2025.1.0" />
|
||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.11.3" />
|
||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.11.3" />
|
||||
<PackageReference Include="FreeSql.Extensions.JsonMap" Version="3.5.106" />
|
||||
<PackageReference Include="FreeSql.Provider.PostgreSQL" Version="3.5.106" />
|
||||
<PackageReference Include="Masuit.Tools.Core" Version="2025.1.4" />
|
||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.11.5" />
|
||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.11.5" />
|
||||
<PackageReference Include="Minio" Version="6.0.4" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -57,6 +57,10 @@ namespace MegghysAPI.Modules
|
||||
.ExecuteAffrows();
|
||||
Logs.Success($"[{Favorites.Count}] 发现新增收藏: {Favorites.Last().Title}, 类型: {Favorites.Last().Restrict}");
|
||||
}
|
||||
else
|
||||
{
|
||||
return; // 不存在更新的了
|
||||
}
|
||||
});
|
||||
var next = (string)json["next_url"];
|
||||
if (next is null)
|
||||
|
||||
Reference in New Issue
Block a user