From cbb95efa80b03c3dde64b9cd4383e7da8941250d Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Thu, 22 Feb 2024 20:28:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BB=B7=E5=8A=A9=E6=89=8B=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E4=BB=BB=E5=8A=A1=E9=80=9A=E7=9F=A5=E4=BD=BF=E7=94=A8?= =?UTF-8?q?NOTASK=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EvaluationAssistant/EvaluationAssistantBusiness.cs | 4 ++-- BBWY.Server.Business/QYMessageCenterBusiness.cs | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs b/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs index 5b331418..a2468d04 100644 --- a/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs +++ b/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs @@ -734,7 +734,7 @@ namespace BBWY.Server.Business try { - qyMessageCenterBusiness.SendMessage(shop.TeamId, shop.TeamId, shop.ShopId, "PJZS", shop.ShopName, "任务列表无后续任务,为避免空档请及时设置后续任务", "PZJS API", string.Empty); + qyMessageCenterBusiness.SendMessage(shop.TeamId, shop.TeamId, shop.ShopId, "PJZS", shop.ShopName, "任务列表无后续任务,为避免空档请及时设置后续任务", "NOTASK", "PZJS API", string.Empty); } catch { } } @@ -1219,7 +1219,7 @@ namespace BBWY.Server.Business { //dingDingBusiness.SendDingDingBotMessage(shop.PJZSDingDingKey, shop.PJZSDingDingWebHook, $"评价助手\n店铺:{shop.ShopName}\n任务全部执行完成,请及时设置后续任务!!"); - qyMessageCenterBusiness.SendMessage(shop.TeamId, shop.TeamId, shop.ShopId, "PZJS", shop.ShopName, "任务全部执行完成,请及时设置后续任务", "PJZS API", string.Empty); + qyMessageCenterBusiness.SendMessage(shop.TeamId, shop.TeamId, shop.ShopId, "PZJS", shop.ShopName, "任务全部执行完成,请及时设置后续任务", "NOTASK", "PJZS API", string.Empty); } catch { } } diff --git a/BBWY.Server.Business/QYMessageCenterBusiness.cs b/BBWY.Server.Business/QYMessageCenterBusiness.cs index c2531a2b..c59e5f08 100644 --- a/BBWY.Server.Business/QYMessageCenterBusiness.cs +++ b/BBWY.Server.Business/QYMessageCenterBusiness.cs @@ -19,6 +19,11 @@ namespace BBWY.Server.Business SendMessage(channel, teamId, shopId, appCode, title, content, string.Empty, senderId, recevierId, false); } + public void SendMessage(string channel, string teamId, string shopId, string appCode, string title, string content, string customTypeCode, string senderId, string recevierId) + { + SendMessage(channel, teamId, shopId, appCode, title, content, customTypeCode, senderId, recevierId, false); + } + public void SendMessage(string channel, string teamId, string shopId, string appCode, string title, object jsonContent, string customTypeCode, string senderId, string recevierId) { SendMessage(channel, teamId, shopId, appCode, title, JsonConvert.SerializeObject(jsonContent), customTypeCode, senderId, recevierId, true);