From 6fd84ecba92947ce84848cefa0b34ff3255e934d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=AF=85?= <2667210109@qq.com> Date: Sun, 3 Nov 2024 00:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asg_form/Controllers/webhook.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/asg_form/Controllers/webhook.cs b/asg_form/Controllers/webhook.cs index db10ecd..c93991a 100644 --- a/asg_form/Controllers/webhook.cs +++ b/asg_form/Controllers/webhook.cs @@ -9,6 +9,7 @@ using RestSharp; using System.Diagnostics; using static asg_form.Controllers.InviteReferee; using Newtonsoft.Json; +using static System.Runtime.InteropServices.JavaScript.JSType; namespace asg_form.Controllers { @@ -81,6 +82,9 @@ namespace asg_form.Controllers } catch { + var message = new MessageBuilder().Text($"后端有新bug被提交请及时解决!\r\n详细信息:{date1.ToJsonString}").Build(); + + await runbot.runbotr.SendMessageAsync(MessageEnvironment.Channel, "931217544", null, message, "931217544"); } return "ok";