diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index c29d31c..da13394 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -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 diff --git a/simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs b/simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs index 4f0c0a3..1a8b01f 100644 --- a/simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs +++ b/simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs @@ -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); diff --git a/src/JT808.Gateway.Abstractions/JT808.Gateway.Abstractions.csproj b/src/JT808.Gateway.Abstractions/JT808.Gateway.Abstractions.csproj index f55f5fa..78679c4 100644 --- a/src/JT808.Gateway.Abstractions/JT808.Gateway.Abstractions.csproj +++ b/src/JT808.Gateway.Abstractions/JT808.Gateway.Abstractions.csproj @@ -29,7 +29,7 @@ - + diff --git a/src/JT808.Gateway.Client/JT808.Gateway.Client.csproj b/src/JT808.Gateway.Client/JT808.Gateway.Client.csproj index f34cc1f..0831ad7 100644 --- a/src/JT808.Gateway.Client/JT808.Gateway.Client.csproj +++ b/src/JT808.Gateway.Client/JT808.Gateway.Client.csproj @@ -23,7 +23,7 @@ - + diff --git a/src/Version.props b/src/Version.props index 847da20..027d647 100644 --- a/src/Version.props +++ b/src/Version.props @@ -1,6 +1,6 @@  2.3.6 - 1.1.5-preview1 + 1.1.5 \ No newline at end of file