Browse Source

v1.1.5 pipeline

1.升级net6
2.升级808包
3.调整http接口部分请求参数为json对象不以string作为post请求参数
4.修改http接口文档
tags/v1.1.5-pipeline
SmallChi(Koike) 3 years ago
parent
commit
b8b11aedc5
5 changed files with 6 additions and 4 deletions
  1. +1
    -1
      .github/workflows/dotnetcore.yml
  2. +2
    -0
      simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs
  3. +1
    -1
      src/JT808.Gateway.Abstractions/JT808.Gateway.Abstractions.csproj
  4. +1
    -1
      src/JT808.Gateway.Client/JT808.Gateway.Client.csproj
  5. +1
    -1
      src/Version.props

+ 1
- 1
.github/workflows/dotnetcore.yml View File

@@ -12,7 +12,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 5.0.100
dotnet-version: 6.0.100
- name: dotnet info
run: dotnet --info
- name: dotnet JT808.Gateway restore


+ 2
- 0
simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs View File

@@ -38,8 +38,10 @@ namespace JT808.Gateway.SimpleClient.Jobs
TerminalPhoneNo= "123456789012",
HexData= "7E02000026123456789012007D02000000010000000200BA7F0E07E4F11C0028003C00001810151010100104000000640202007D01137E"
});
var result4 = await jT808HttpClient.QueryTcpSessionByTerminalPhoneNo(new Abstractions.Dtos.JT808TerminalPhoneNoDto { TerminalPhoneNo= "33333333333" });
Logger.LogInformation($"[GetTcpAtomicCounter]:{JsonSerializer.Serialize(result2)}");
Logger.LogInformation($"[GetTcpSessionAll]:{JsonSerializer.Serialize(result3)}");
Logger.LogInformation($"[QueryTcpSessionByTerminalPhoneNo]:{JsonSerializer.Serialize(result4)}");
Thread.Sleep(3000);
}
}, cancellationToken);


+ 1
- 1
src/JT808.Gateway.Abstractions/JT808.Gateway.Abstractions.csproj View File

@@ -29,7 +29,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="JT808" Version="2.4.5-preview1" />
<PackageReference Include="JT808" Version="2.4.5" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />


+ 1
- 1
src/JT808.Gateway.Client/JT808.Gateway.Client.csproj View File

@@ -23,7 +23,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JT808" Version="2.4.4" />
<PackageReference Include="JT808" Version="2.4.5" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageReference Include="System.IO.Pipelines" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />


+ 1
- 1
src/Version.props View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<JT808DotNettyPackageVersion>2.3.6</JT808DotNettyPackageVersion>
<JT808GatewayPackageVersion>1.1.5-preview1</JT808GatewayPackageVersion>
<JT808GatewayPackageVersion>1.1.5</JT808GatewayPackageVersion>
</PropertyGroup>
</Project>

||||||
x
 
000:0
Loading…
Cancel
Save