|
|
@ -106,12 +106,8 @@ namespace _24Hour |
|
|
|
var thing5 = attention; |
|
|
|
var thing5 = attention; |
|
|
|
if (!string.IsNullOrEmpty(matter) && matter.Length>20) |
|
|
|
if (!string.IsNullOrEmpty(matter) && matter.Length>20) |
|
|
|
thing4 = matter.Substring(0, 17)+"..."; |
|
|
|
thing4 = matter.Substring(0, 17)+"..."; |
|
|
|
else |
|
|
|
|
|
|
|
thing4 = ""; |
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(attention) && attention.Length > 20) |
|
|
|
if (!string.IsNullOrEmpty(attention) && attention.Length > 20) |
|
|
|
thing5 = attention.Substring(0, 17) + "..."; |
|
|
|
thing5 = attention.Substring(0, 17) + "..."; |
|
|
|
else |
|
|
|
|
|
|
|
thing5 = ""; |
|
|
|
|
|
|
|
msg = new |
|
|
|
msg = new |
|
|
|
{ |
|
|
|
{ |
|
|
|
touser = useropenId, |
|
|
|
touser = useropenId, |
|
|
@ -180,13 +176,9 @@ namespace _24Hour |
|
|
|
var thing4 = matter; |
|
|
|
var thing4 = matter; |
|
|
|
if (!string.IsNullOrEmpty(matter)&&matter.Length > 20) |
|
|
|
if (!string.IsNullOrEmpty(matter)&&matter.Length > 20) |
|
|
|
thing4 = matter.Substring(0, 17) + "..."; |
|
|
|
thing4 = matter.Substring(0, 17) + "..."; |
|
|
|
else |
|
|
|
|
|
|
|
thing4 = ""; |
|
|
|
|
|
|
|
var thing5 = reason; |
|
|
|
var thing5 = reason; |
|
|
|
if (!string.IsNullOrEmpty(reason) && reason.Length > 20) |
|
|
|
if (!string.IsNullOrEmpty(reason) && reason.Length > 20) |
|
|
|
thing5 = reason.Substring(0, 17) + "..."; |
|
|
|
thing5 = reason.Substring(0, 17) + "..."; |
|
|
|
else |
|
|
|
|
|
|
|
thing5 = ""; |
|
|
|
|
|
|
|
msg = new |
|
|
|
msg = new |
|
|
|
{ |
|
|
|
{ |
|
|
|
touser = useropenId, |
|
|
|
touser = useropenId, |
|
|
|