|
@@ -3,8 +3,10 @@ using DataSharing.Share.Dtos.LuZhou;
|
|
|
using DataSharing.Share.Enums;
|
|
|
using MapsterMapper;
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
+using Newtonsoft.Json;
|
|
|
using Quartz;
|
|
|
using XF.Domain.Repository;
|
|
|
+using static Lucene.Net.Util.Fst.Util;
|
|
|
|
|
|
namespace DataSharing.LuZhou.LuZhou110
|
|
|
{
|
|
@@ -96,14 +98,18 @@ namespace DataSharing.LuZhou.LuZhou110
|
|
|
try
|
|
|
{
|
|
|
response = await _lz110Invoker.RequestStringContentAsync<LZ110BaseResponse>(item.Path, item.Request, cancellationToken);
|
|
|
+ _logger.LogInformation($"发起请求LZ110返回111111111:{JsonConvert.SerializeObject(response)}");
|
|
|
if (!response.IsSuccess && response?.Data?.ResponseStatusObject.StatusCode == "1")// ==1:未注册,==4:已注册
|
|
|
{
|
|
|
await _registerManager.RefreshRegisterAsync(cancellationToken);
|
|
|
+ _logger.LogInformation($"发起请求LZ110返回222222:{JsonConvert.SerializeObject(response)}");
|
|
|
response = await _lz110Invoker.RequestStringContentAsync<LZ110BaseResponse>(item.Path, item.Request, cancellationToken);
|
|
|
+ _logger.LogInformation($"发起请求LZ110返回333333:{JsonConvert.SerializeObject(response)}");
|
|
|
}
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
+ _logger.LogInformation($"发起请求LZ110返回333333:{ex.Message}");
|
|
|
error = ex.Message;
|
|
|
}
|
|
|
|