😎增加Hashids.net组件 短链接

This commit is contained in:
zuohuaijun 2024-08-28 13:19:27 +08:00
parent ae2e39261b
commit 82fd405392
2 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,7 @@
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.5.5" />
<PackageReference Include="Furion.Pure" Version="4.9.5.5" />
<PackageReference Include="Hardware.Info" Version="100.1.0.1" />
<PackageReference Include="Hashids.net" Version="1.7.0" />
<PackageReference Include="IPTools.China" Version="1.6.0" />
<PackageReference Include="IPTools.International" Version="1.6.0" />
<PackageReference Include="Magicodes.IE.Excel" Version="2.7.5.1" />
@ -39,7 +40,7 @@
<PackageReference Include="SqlSugarCore" Version="5.1.4.167" />
<PackageReference Include="SSH.NET" Version="2024.1.0" />
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.5" />
<PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1077" />
<PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1078" />
<PackageReference Include="UAParser" Version="3.1.47" />
<PackageReference Include="Yitter.IdGenerator" Version="1.0.14" />
</ItemGroup>

View File

@ -10,6 +10,7 @@ using AspNet.Security.OAuth.Gitee;
using AspNet.Security.OAuth.Weixin;
using AspNetCoreRateLimit;
using Elastic.Clients.Elasticsearch;
using HashidsNet;
using IPTools.Core;
using Lazy.Captcha.Core;
using Magicodes.ExporterAndImporter.Pdf;
@ -121,6 +122,7 @@ public class SysServerService : IDynamicApiController, ITransient
var ipToolAssembly = typeof(IpTool).Assembly.GetName();
var weixinAuthenticationOptionsAssembly = typeof(WeixinAuthenticationOptions).Assembly.GetName();
var giteeAuthenticationOptionsAssembly = typeof(GiteeAuthenticationOptions).Assembly.GetName();
var hashidsAssembly = typeof(Hashids).Assembly.GetName();
return new[]
{
@ -149,6 +151,7 @@ public class SysServerService : IDynamicApiController, ITransient
new { ipToolAssembly.Name, ipToolAssembly.Version },
new { weixinAuthenticationOptionsAssembly.Name, weixinAuthenticationOptionsAssembly.Version },
new { giteeAuthenticationOptionsAssembly.Name, giteeAuthenticationOptionsAssembly.Version },
new { hashidsAssembly.Name, hashidsAssembly.Version },
};
}
}