lihao 4 年之前
父節點
當前提交
8ca0fa39b4
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      gx_api/GxPress/Service/GxPress.Service.Implement/Notice/NoticeService.Insert.cs

+ 2 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Notice/NoticeService.Insert.cs

@@ -28,7 +28,8 @@ namespace GxPress.Service.Implement.Notice
                     if (userEntity == null)
                         throw new BusinessException("用户不存在");
                     //获取简单标题
-                    request.SimplenessTitle = _contentJsonService.GetTitile(request.Title, request.Content);
+                    request.SimplenessTitle = request.Title;
+                    request.Title = _contentJsonService.GetTitile(request.Title, request.Content);
                     var noticeId = 0;
                     var middleId = 0;
                     var addresseeUsers = new List<User>();