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);