This commit is contained in:
夏菊 2025-09-24 20:40:31 +08:00
parent eaf6b19e6d
commit e28eb4ab1e
1 changed files with 2 additions and 3 deletions

View File

@ -69,10 +69,10 @@ namespace BLL
{
string result2 = APIGetHttpService.Http("http://219.139.48.4:8098/api/transaction/list?startDate=" + date.ToString("yyyy-MM-dd HH:mm:ss") + "&endDate=" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "&pageNo=" + page + "&pageSize=100&access_token=DE2930A5E95BDECC6AC6C39A6A18FBAE17951BB668F50A35F28C883C324B8DF0", "GET", "application/json;charset=utf-8", null, null);
var j2 = JsonConvert.DeserializeObject<dynamic>(result2);
size = j2.data.Count;
try
{
var j2 = JsonConvert.DeserializeObject<dynamic>(result2);
size = j2 != null ? j2.data.Count : 0;
for (int i = 0; i < size; i++)
{
@ -149,7 +149,6 @@ namespace BLL
APIPersonService.getPersonInOut(getPerson, isIn, changeTime);
}
}
}
catch (Exception ex) { ErrLogInfo.WriteLog("氟化工出入同步出错2!" + ex.StackTrace + "/n" + ex.Message); }