From 0d59422689a938caed19338e3a3317130204a32f Mon Sep 17 00:00:00 2001 From: H Vs Date: Wed, 10 Apr 2024 14:28:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs b/GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs index 7deb452..9d4e6f1 100644 --- a/GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs +++ b/GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs @@ -208,7 +208,7 @@ namespace GpsCardGatewayPosition.Service.Biz.Location wayzOriginalInputLog = $"{nameof(GetWayzWifiAddressAsync)}维智请求原始报文: {JsonConvert.SerializeObject(model)}"; _logger.LogInformation(wayzOriginalInputLog); result = await _httpHelper.HttpToPostAsync(url, model).ConfigureAwait(false); - var resultText = result.Length >= 2000 ? result.Substring(0, 2000) : result; + var resultText = result.Length >= 2000 ? result.Substring(0, 2000) + "..." : result; wayzOriginalOutputLog = $"{nameof(GetWayzWifiAddressAsync)}维智返回原始报文: {resultText}"; _logger.LogInformation(wayzOriginalOutputLog);