@@ -139,6 +139,10 @@ namespace Learun.Application.WebApi.Modules | |||||
F_SendPostId.Trim(','); | F_SendPostId.Trim(','); | ||||
shlist.F_SendPostId = F_SendPostId; | shlist.F_SendPostId = F_SendPostId; | ||||
} | } | ||||
if (!shlist.F_NewsContent.IsEmpty()) | |||||
{ | |||||
shlist.F_NewsContent = WebHelper.HtmlDecode(shlist.F_NewsContent); | |||||
} | |||||
return Success(shlist); | return Success(shlist); | ||||
} | } | ||||
@@ -70,6 +70,10 @@ namespace Learun.Application.WebApi | |||||
{ | { | ||||
string keyValue = this.GetReqData(); | string keyValue = this.GetReqData(); | ||||
var SYS_ReceiveMessageData = sYS_ReceiveMessageIBLL.GetUrlSYS_ReceiveMessageEntity(keyValue); | var SYS_ReceiveMessageData = sYS_ReceiveMessageIBLL.GetUrlSYS_ReceiveMessageEntity(keyValue); | ||||
if (SYS_ReceiveMessageData != null) | |||||
{ | |||||
SYS_ReceiveMessageData.CONTENTS = WebHelper.HtmlDecode(SYS_ReceiveMessageData.CONTENTS); | |||||
} | |||||
var jsonData = new | var jsonData = new | ||||
{ | { | ||||
SYS_ReceiveMessage = SYS_ReceiveMessageData, | SYS_ReceiveMessage = SYS_ReceiveMessageData, | ||||
@@ -77,7 +77,7 @@ namespace Learun.Application.WebApi | |||||
result = "/" + result.Substring(result.IndexOf("Resource")); | result = "/" + result.Substring(result.IndexOf("Resource")); | ||||
} | } | ||||
Sys_ReceiveFileData.Url = result; | Sys_ReceiveFileData.Url = result; | ||||
Sys_ReceiveFileData.Contents = WebHelper.HtmlDecode(Sys_ReceiveFileData.Contents); | |||||
} | } | ||||
var jsonData = new | var jsonData = new | ||||
{ | { | ||||