From 6e5de84d788a8cfcca1122f786cf3517d5ce3459 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 26 Jul 2024 15:10:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ITaskManageCutDateChangeService.cs | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ds-wms-service/DS.WMS.Core/TaskPlat/Interface/ITaskManageCutDateChangeService.cs diff --git a/ds-wms-service/DS.WMS.Core/TaskPlat/Interface/ITaskManageCutDateChangeService.cs b/ds-wms-service/DS.WMS.Core/TaskPlat/Interface/ITaskManageCutDateChangeService.cs new file mode 100644 index 00000000..297f61e0 --- /dev/null +++ b/ds-wms-service/DS.WMS.Core/TaskPlat/Interface/ITaskManageCutDateChangeService.cs @@ -0,0 +1,35 @@ +using DS.Module.Core; +using DS.Module.DjyServiceStatus; +using DS.WMS.Core.TaskPlat.Dtos; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.WMS.Core.TaskPlat.Interface +{ + public interface ITaskManageCutDateChangeService + { + /// + /// 通过任务主键获取截止时间变更详情 + /// + /// 截止时间变更任务主键 + /// 返回回执 + Task>> GetInfoByTaskId(string taskPkId); + + /// + /// 检索对应的订舱订单并保存订舱ID + /// + /// 截止时间变更任务主键 + /// 返回回执 + Task SearchAndMarkBookingOrder(string taskPKId); + + /// + /// 发送邮件通知给客户 + /// + /// 截止时间变更主键 + /// 返回回执 + Task SendEmailToCustomer(string taskPKId); + } +} From 64fe25116e53eda91a988b6a03dbc90798d558f0 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 26 Jul 2024 15:39:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BD=91=E5=85=B3?= =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ds-wms-service/DS.WMS.Gateway/JwtSafeMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ds-wms-service/DS.WMS.Gateway/JwtSafeMiddleware.cs b/ds-wms-service/DS.WMS.Gateway/JwtSafeMiddleware.cs index 3a4a4aad..8dd7e84b 100644 --- a/ds-wms-service/DS.WMS.Gateway/JwtSafeMiddleware.cs +++ b/ds-wms-service/DS.WMS.Gateway/JwtSafeMiddleware.cs @@ -22,7 +22,7 @@ public class JwtSafeMiddleware { // Console.WriteLine(context.Request.Path); var path = context.Request.Path.ToString().ToLower(); - if (path.Contains("swagger") || path.Contains("login")|| path.Contains("tenantregister") || path.Contains("linkattach") || path.Contains("printtempfile") || path.Contains("favicon") || path.Contains("clientuserlogin") ) + if (path.Contains("swagger") || path.Contains("login")|| path.Contains("tenantregister") || path.Contains("linkattach") || path.Contains("printtempfile") || path.Contains("favicon") || path.Contains("clientuserlogin") || path.Contains("createbctaskjob")) { //跳过swagger及login }