|
@@ -86,17 +86,17 @@ namespace GxPress.Service.Implement.Topic
|
|
|
var folderUsers = await _folderUserRepository.GetAllAsync(request.FolderId);
|
|
|
request.TopicAddresseeUserIds = folderUsers.Select(n => n.UserId).ToList();
|
|
|
}
|
|
|
- //另存为笔记
|
|
|
- var noteRequest = new NoteInRequest
|
|
|
- {
|
|
|
- Title = request.Title,
|
|
|
- Content = request.Content,
|
|
|
- UserId = request.UserId,
|
|
|
- FolderId = request.FolderId,
|
|
|
- HtmlContent = request.HtmlContent,
|
|
|
- IsTopic=true
|
|
|
- };
|
|
|
- await _noteService.InsertNoteAsync(noteRequest);
|
|
|
+ // //另存为笔记
|
|
|
+ // var noteRequest = new NoteInRequest
|
|
|
+ // {
|
|
|
+ // Title = request.Title,
|
|
|
+ // Content = request.Content,
|
|
|
+ // UserId = request.UserId,
|
|
|
+ // FolderId = request.FolderId,
|
|
|
+ // HtmlContent = request.HtmlContent,
|
|
|
+ // IsTopic=true
|
|
|
+ // };
|
|
|
+ // await _noteService.InsertNoteAsync(noteRequest);
|
|
|
//设置默认共享文件夹
|
|
|
await _middleRepository.UpdateAsync(Q.Set(nameof(Entity.Middle.Middle.IsDefault), false).Where(nameof(Entity.Middle.Middle.UserId), request.UserId).WhereIn(nameof(Entity.Middle.Middle.RoleId), new List<int> { 1, 3 }));
|
|
|
//修改默认
|