|
|
@@ -4,6 +4,7 @@ using Microsoft.Extensions.Logging; |
|
|
|
using NearCardAttendance.Common.helper; |
|
|
|
using NearCardAttendance.Service.TcpServer.Mapper; |
|
|
|
using NearCardAttendance.Service.TcpServer.Protocol; |
|
|
|
using Newtonsoft.Json; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
@@ -235,7 +236,7 @@ namespace NearCardAttendance.Service.TcpServer.Handler |
|
|
|
imei = deviceId |
|
|
|
}; |
|
|
|
var res=await _httpHelper.HttpToPostAsync(url, data); |
|
|
|
_logger.LogInformation($"{nameof(HandleSignRecsAsync)} 推送结果,{res}"); |
|
|
|
_logger.LogInformation($"{nameof(HandleSignRecsAsync)} 推送 {JsonConvert.SerializeObject(data)} 结果,{res}"); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
@@ -265,7 +266,7 @@ namespace NearCardAttendance.Service.TcpServer.Handler |
|
|
|
imei = deviceId |
|
|
|
}; |
|
|
|
var res = await _httpHelper.HttpToPostAsync(url, data); |
|
|
|
_logger.LogInformation($"{nameof(HandleStdtSchoolRecsAsync)} 推送结果,{res}"); |
|
|
|
_logger.LogInformation($"{nameof(HandleStdtSchoolRecsAsync)} 推送 {JsonConvert.SerializeObject(data)} 结果,{res}"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |