From e3e1b2a93709fb16eb676ac6d4d902fee34e1b58 Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Wed, 7 Jun 2023 16:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89@=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Application/Service/DataSync/DataSyncService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Myshipping.Application/Service/DataSync/DataSyncService.cs b/Myshipping.Application/Service/DataSync/DataSyncService.cs index 8da51341..ad27b372 100644 --- a/Myshipping.Application/Service/DataSync/DataSyncService.cs +++ b/Myshipping.Application/Service/DataSync/DataSyncService.cs @@ -2177,7 +2177,7 @@ namespace Myshipping.Application private async Task SyncVesselExcepAtOp(List dto) { var tenantId = UserManager.TENANT_ID; - SpareTime.DoOnce(1000, (tmr, l) => + SpareTime.DoOnce(60000, (tmr, l) => { try { @@ -2228,7 +2228,7 @@ namespace Myshipping.Application { var content = string.Join("\r\n", dic[k]); _logger.LogInformation($"准备发送船期通知给 {k},内容:\r\n{content}"); - //DingTalkGroupHelper.SendDingTalkGroupMessage("", "船期提醒", content, false, new string[] { k }, null); + DingTalkGroupHelper.SendDingTalkGroupMessage("hechuanVesselAtOpNotify", "船期提醒", content, false, new string[] { k }, null); } }); } @@ -2239,7 +2239,7 @@ namespace Myshipping.Application { var content = string.Join("\r\n", item.Value); _logger.LogInformation($"准备发送船期通知给 {item.Key},内容:\r\n{content}"); - //DingTalkGroupHelper.SendDingTalkGroupMessage("", "船期提醒", content, false, new string[] { item.Key }, null); + DingTalkGroupHelper.SendDingTalkGroupMessage("hechuanVesselAtOpNotify", "船期提醒", content, false, new string[] { item.Key }, null); } } }