Sfoglia il codice sorgente

调整日志记录

develop
H Vs 7 mesi fa
parent
commit
0d59422689
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs

+ 1
- 1
GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs Vedi File

@@ -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…
Annulla
Salva