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,