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);