From 3abd8a136d71556f900b413eedcd11db25cfe292 Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 23 May 2022 14:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E9=83=A8=E9=82=AE=E4=BB=B6=E5=8F=91?= =?UTF-8?q?=E9=80=81=E5=88=B0=E6=89=8B=E6=9C=BA=E7=AB=AF=20=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E5=86=85=E5=AE=B9=E4=B9=B1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/SYS_SendMessageController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs index 69abd8025..3343c0963 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs @@ -54,7 +54,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [AjaxOnly] public ActionResult GetSelectedUserName(string keyValue) { - return Success("",string.Join(",", userIbll.GetListByUserIds(keyValue).Select(m=>m.F_RealName))); + return Success("", string.Join(",", userIbll.GetListByUserIds(keyValue).Select(m => m.F_RealName))); } /// /// 获取页面显示列表数据 @@ -134,6 +134,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers SYS_SendMessageEntity entity = strEntity.ToObject(); entity.SENDERID = logInfo.userId; entity.SENDER = logInfo.realName; + entity.CONTENTS = HttpUtility.HtmlDecode(entity.CONTENTS); entity.RECEIVER = string.Join(",", userIbll.GetListByUserIds(entity.RECEIVERID).Select(m => m.F_RealName)); if (!string.IsNullOrEmpty(entity.RECEIVERIDToo)) {