Skip to content

Commit c492870

Browse files
committed
fix: 更新CAP版本并测试
1 parent 6cc8f39 commit c492870

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

modules/admin/src/Bing.Admin.Infrastructure/Bing.Admin.Infrastructure.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="DotNetCore.CAP.RabbitMQ" Version="3.1.1" />
12+
<PackageReference Include="DotNetCore.CAP.RabbitMQ" Version="3.1.2" />
1313
<PackageReference Include="IdentityModel" Version="3.10.10" />
1414
</ItemGroup>
1515

modules/admin/src/Bing.Admin/Bing.Admin.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
<PackageReference Include="AspectCore.Extensions.Hosting" Version="2.1.0" />
1919
<PackageReference Include="Bing.Extensions.Swashbuckle" Version="1.2.1" />
2020
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="5.4.1" />
21-
<!--<PackageReference Include="MySqlConnector" Version="1.0.0" />-->
22-
<!--<PackageReference Include="Microsoft.AspNetCore.App" />-->
23-
<!--<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />-->
21+
<PackageReference Include="DotNetCore.CAP.Dashboard" Version="3.1.2" />
2422
</ItemGroup>
2523

2624
<ItemGroup>

modules/admin/src/Bing.Admin/Modules/CapModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public override IServiceCollection AddServices(IServiceCollection services)
4646
{
4747
o.UseEntityFramework<AdminUnitOfWork>();
4848
//o.UseMySql(connection);
49-
//o.UseDashboard();
49+
o.UseDashboard();
5050
// 设置处理成功的数据在数据库中保存的时间(秒),为保证系统性能,数据会定期清理
5151
o.SucceedMessageExpiredAfter = 24 * 3600;
5252
// 设置失败重试次数

0 commit comments

Comments
 (0)