From fa77f519c6c4ac4d2c9db7ee47c3d4e483653927 Mon Sep 17 00:00:00 2001 From: liujiaqiang <1448951783@qq.com> Date: Mon, 30 Oct 2023 14:14:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=B6=88=E6=81=AF=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E4=B8=8D=E4=BA=86=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerservicesController.cs | 2 +- 24Hour/WechatMessagerClient.cs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/24Hour/Controllers/Common/LawyerservicesController.cs b/24Hour/Controllers/Common/LawyerservicesController.cs index d30b43e..a398ce0 100644 --- a/24Hour/Controllers/Common/LawyerservicesController.cs +++ b/24Hour/Controllers/Common/LawyerservicesController.cs @@ -269,7 +269,7 @@ namespace _24Hour.Controllers.Common var Lawyerboldata = Lawyerbol.FirstOrDefault(); if (Lawyerboldata.state !=0) { - result.IsSucceed = true; + result.IsSucceed = false; result.result = "数据已被其他人接收处理!"; return result; } diff --git a/24Hour/WechatMessagerClient.cs b/24Hour/WechatMessagerClient.cs index c227612..2650006 100644 --- a/24Hour/WechatMessagerClient.cs +++ b/24Hour/WechatMessagerClient.cs @@ -106,12 +106,8 @@ namespace _24Hour var thing5 = attention; if (!string.IsNullOrEmpty(matter) && matter.Length>20) thing4 = matter.Substring(0, 17)+"..."; - else - thing4 = ""; if (!string.IsNullOrEmpty(attention) && attention.Length > 20) thing5 = attention.Substring(0, 17) + "..."; - else - thing5 = ""; msg = new { touser = useropenId, @@ -180,13 +176,9 @@ namespace _24Hour var thing4 = matter; if (!string.IsNullOrEmpty(matter)&&matter.Length > 20) thing4 = matter.Substring(0, 17) + "..."; - else - thing4 = ""; var thing5 = reason; if (!string.IsNullOrEmpty(reason) && reason.Length > 20) thing5 = reason.Substring(0, 17) + "..."; - else - thing5 = ""; msg = new { touser = useropenId,