Skip to content

Commit 2c8138c

Browse files
committed
chore: 增加 BootstrapBlazor.JuHeIpLocatorProvider 包依赖
1 parent e02a348 commit 2c8138c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<PackageReference Include="BootstrapBlazor.IconPark" Version="9.0.2" />
4343
<PackageReference Include="BootstrapBlazor.ImageCropper" Version="9.0.0" />
4444
<PackageReference Include="BootstrapBlazor.IP2Region" Version="9.0.1" />
45+
<PackageReference Include="BootstrapBlazor.JuHeIpLocatorProvider" Version="9.0.0-beta01" />
4546
<PackageReference Include="BootstrapBlazor.Live2DDisplay" Version="9.0.1" />
4647
<PackageReference Include="BootstrapBlazor.Markdown" Version="9.0.1" />
4748
<PackageReference Include="BootstrapBlazor.MaterialDesign" Version="9.0.1" />

src/BootstrapBlazor.Server/Extensions/ServiceCollectionSharedExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ public static IServiceCollection AddBootstrapBlazorServices(this IServiceCollect
8282
// 增加离线 IP 定位服务
8383
services.AddBootstrapBlazorIP2RegionfService();
8484

85+
// 增加 JuHe 定位服务
86+
services.AddBootstrapBlazorJuHeIpLocatorService();
87+
8588
// 增加 PetaPoco ORM 数据服务操作类
8689
// 需要时打开下面代码
8790
//services.AddPetaPoco(option =>

0 commit comments

Comments
 (0)