fix 日志输出,补充脱敏
This commit is contained in:
@@ -45,6 +45,7 @@ public class GainfoDetailResponse
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ObfuscateProviderJsonConverter), 6)]
|
||||
public string IdNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -76,6 +77,7 @@ public class GainfoDetailResponse
|
||||
/// <summary>
|
||||
/// 手机号码
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ObfuscateProviderJsonConverter), 4)]
|
||||
public string Phone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -100,6 +100,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "{werk}同步处理异常:{message}", werk, ex.Message);
|
||||
werkInfo.HandleMessage = ex.Message;
|
||||
werkInfo.LastSyncEndTime = DateTime.Now;
|
||||
werkInfo.BackgroundJobKey = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user