From 65f191d3f9f72baf40f383ffe1a650d93930df13 Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Mon, 2 Sep 2024 16:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E7=BC=B4=E8=B4=B9=E5=90=8E=E5=A4=84=E7=90=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BC=98=E5=8C=96=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs | 4 +++- DigitalSchoolApi/Web.config | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs b/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs index eecf942..9026155 100644 --- a/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs +++ b/DigitalSchoolApi/Controllers/PayFeeResultTwoController.cs @@ -71,7 +71,7 @@ namespace DigitalSchoolApi.Controllers { RecurringJob.AddOrUpdate("PayFeeResultMinutes20", () => GetResult(true), - Cron.Minutely, TimeZoneInfo.Local); + Cron.MinuteInterval(2), TimeZoneInfo.Local); return Ok(); } /// @@ -229,6 +229,7 @@ namespace DigitalSchoolApi.Controllers conncore.Execute( "insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),121,'ccb','FCSOId:" + item.Id + " 对接支付结果地址接口失败:" + reStr + ":" + e.Message + ":" + e.StackTrace + "',getdate())"); } + continue; } xml.LoadXml(reStr); string s = ((XmlElement)xml.SelectSingleNode("TX/RETURN_CODE")).InnerText; @@ -332,6 +333,7 @@ group by a.FSYear,b.StuNo ) aa left join conncore.Execute( "insert into LR_Base_Log(F_LogId,F_CategoryId,F_SourceObjectId,F_SourceContentJson,F_OperateTime) values(newid(),121,'ccb','FCSOId:" + item.Id + " error:code=" + s + "xml=" + Learun.Util.Str.ReplaceHtml(reStr) + "',getdate())"); } + //YDCA02910001流水记录不存在;0250E0200001流水记录不存在;YALA02910002查询过于频繁,请稍后再试 } } } diff --git a/DigitalSchoolApi/Web.config b/DigitalSchoolApi/Web.config index 0ca5377..ceaaaff 100644 --- a/DigitalSchoolApi/Web.config +++ b/DigitalSchoolApi/Web.config @@ -53,9 +53,9 @@ - + - +