From b8b11aedc57b7ed6e9a0669ab0b249d8ddf4d9e7 Mon Sep 17 00:00:00 2001 From: "SmallChi(Koike)" <564952747@qq.com> Date: Fri, 19 Nov 2021 20:15:49 +0800 Subject: [PATCH] =?UTF-8?q?v1.1.5=20pipeline=201.=E5=8D=87=E7=BA=A7net6=20?= =?UTF-8?q?2.=E5=8D=87=E7=BA=A7808=E5=8C=85=203.=E8=B0=83=E6=95=B4http?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=83=A8=E5=88=86=E8=AF=B7=E6=B1=82=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=B8=BAjson=E5=AF=B9=E8=B1=A1=E4=B8=8D=E4=BB=A5strin?= =?UTF-8?q?g=E4=BD=9C=E4=B8=BApost=E8=AF=B7=E6=B1=82=E5=8F=82=E6=95=B0=204?= =?UTF-8?q?.=E4=BF=AE=E6=94=B9http=E6=8E=A5=E5=8F=A3=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dotnetcore.yml | 2 +- simples/JT808.Gateway.SimpleClient/Jobs/CallHttpClientJob.cs | 2 ++ .../JT808.Gateway.Abstractions.csproj | 2 +- src/JT808.Gateway.Client/JT808.Gateway.Client.csproj | 2 +- src/Version.props | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) 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