瀏覽代碼

调整日志记录

develop
H Vs 7 月之前
父節點
當前提交
0d59422689
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs

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



Loading…
取消
儲存