|
@@ -414,7 +414,18 @@ namespace GxPress.Service.Implement.Missive
|
|
|
throw new Common.Exceptions.BusinessException("站内信已删除");
|
|
|
//return missiveInfoResults;
|
|
|
}
|
|
|
- var missiveInfoResult = _mapper.Map<MissiveInfo>(missive);
|
|
|
+ var missiveInfoResult = new MissiveInfo
|
|
|
+ {
|
|
|
+ Id = missive.Id,
|
|
|
+ Title = missive.Title,
|
|
|
+ HtmlContent = missive.HtmlContent,
|
|
|
+ Content = missive.Content,
|
|
|
+ UserId = missive.UserId,
|
|
|
+ UserName = missive.UserName,
|
|
|
+ ParentId = missive.ParentId,
|
|
|
+ MissiveType = missive.TypeValue == 18 ? 2 : 1,
|
|
|
+ MissiveSendType = missive.NoticeType.GetHashCode()
|
|
|
+ };
|
|
|
//是否可撤回
|
|
|
if (missive.UserId == userId)
|
|
|
{
|