Bladeren bron

调整日志记录

develop
H Vs 7 maanden geleden
bovenliggende
commit
0d59422689
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs

+ 1
- 1
GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs Bestand weergeven

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



Laden…
Annuleren
Opslaan