更新授权类

This commit is contained in:
Diego
2025-05-26 19:51:21 +08:00
parent 0e28606e3d
commit ff41080dbd
4 changed files with 11 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<PluginVersion>10.6.23</PluginVersion>
<ProPluginVersion>10.6.23</ProPluginVersion>
<AuthenticationVersion>2.1.7</AuthenticationVersion>
<PluginVersion>10.6.24</PluginVersion>
<ProPluginVersion>10.6.24</ProPluginVersion>
<AuthenticationVersion>2.1.8</AuthenticationVersion>
</PropertyGroup>
<PropertyGroup>

View File

@@ -18,6 +18,8 @@ using SqlSugar;
using System.Reflection;
using ThingsGateway.Authentication;
namespace ThingsGateway.Gateway.Application;
[AppStartup(-100)]
@@ -25,6 +27,9 @@ public class Startup : AppStartup
{
public void Configure(IServiceCollection services)
{
ProAuthentication.TryGetAuthorizeInfo(out var authorizeInfo);
services.AddConfigurableOptions<ChannelThreadOptions>();
services.AddConfigurableOptions<GatewayLogOptions>();
services.AddConfigurableOptions<RpcLogOptions>();

View File

@@ -10,7 +10,8 @@
<PackageReference Include="Rougamo.Fody" Version="5.0.0" />
<PackageReference Include="TouchSocket.Dmtp" Version="3.1.5" />
<PackageReference Include="TouchSocket.WebApi.Swagger" Version="3.1.5" />
<PackageReference Include="ThingsGateway.Authentication" Version="$(AuthenticationVersion)" />
<!--<PackageReference Include="ThingsGateway.Authentication" Version="$(AuthenticationVersion)" />-->
<ProjectReference Include="..\..\PluginPro\ThingsGateway.Authentication\ThingsGateway.Authentication.csproj" />
</ItemGroup>

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>10.6.23</Version>
<Version>10.6.24</Version>
</PropertyGroup>
<ItemGroup>