From 2bf275965cd6559607723eaa444e9e061c03892a Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 29 Aug 2022 11:30:20 +0800 Subject: [PATCH 1/3] =?UTF-8?q?app2.0=20=E5=85=AC=E6=96=87=E6=9F=A5?= =?UTF-8?q?=E9=98=85=E6=89=8B=E6=9C=BA=E7=AB=AF=E8=A7=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs index 81017ca77..ecafe4c35 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Sys_ReceiveFileApi.cs @@ -77,7 +77,7 @@ namespace Learun.Application.WebApi result = "/" + result.Substring(result.IndexOf("Resource")); } Sys_ReceiveFileData.Url = result; - + Sys_ReceiveFileData.Contents = WebHelper.HtmlDecode(Sys_ReceiveFileData.Contents); } var jsonData = new { From 9c903c97685cbad103e69af70814d822457f371b Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 29 Aug 2022 11:34:56 +0800 Subject: [PATCH 2/3] =?UTF-8?q?app2.0=20=E6=94=B6=E4=BB=B6=E7=AE=B1?= =?UTF-8?q?=E6=AD=A3=E6=96=87=E8=A7=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/SYS_ReceiveMessageApi.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/SYS_ReceiveMessageApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/SYS_ReceiveMessageApi.cs index 56f712ebb..53ac50bb5 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/SYS_ReceiveMessageApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/SYS_ReceiveMessageApi.cs @@ -70,6 +70,10 @@ namespace Learun.Application.WebApi { string keyValue = this.GetReqData(); var SYS_ReceiveMessageData = sYS_ReceiveMessageIBLL.GetUrlSYS_ReceiveMessageEntity(keyValue); + if (SYS_ReceiveMessageData != null) + { + SYS_ReceiveMessageData.CONTENTS = WebHelper.HtmlDecode(SYS_ReceiveMessageData.CONTENTS); + } var jsonData = new { SYS_ReceiveMessage = SYS_ReceiveMessageData, From 3279a225bed6d355e64afb4faab9e936ff31ec21 Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 29 Aug 2022 11:55:58 +0800 Subject: [PATCH 3/3] =?UTF-8?q?app2.0=20=E6=A0=A1=E5=86=85=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=85=AC=E5=91=8A=E5=AE=A1=E6=A0=B8=E6=AD=A3=E6=96=87?= =?UTF-8?q?=E8=A7=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/NewsApi.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs index 30966dbde..d06470df0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs @@ -139,6 +139,10 @@ namespace Learun.Application.WebApi.Modules F_SendPostId.Trim(','); shlist.F_SendPostId = F_SendPostId; } + if (!shlist.F_NewsContent.IsEmpty()) + { + shlist.F_NewsContent = WebHelper.HtmlDecode(shlist.F_NewsContent); + } return Success(shlist); }