From c98eefe3ec227cdd0b8831270358d268fd0c73f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B7=B3?= Date: Fri, 24 Mar 2023 17:13:25 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E4=BC=98=E5=8C=96=E6=89=B9=E9=87=8Fdto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Forum/Dtos/Comment/CommentGetListOutputDto.cs | 5 ++++- .../Forum/Dtos/Discuss/DiscussGetListOutputDto.cs | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Comment/CommentGetListOutputDto.cs b/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Comment/CommentGetListOutputDto.cs index ae21a61d..f43c57ed 100644 --- a/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Comment/CommentGetListOutputDto.cs +++ b/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Comment/CommentGetListOutputDto.cs @@ -17,7 +17,10 @@ namespace Yi.BBS.Application.Contracts.Forum.Dtos public long Id { get; set; } public DateTime? CreateTime { get; set; } - public string Content { get; set; } + + + //批量查询,不给内容,性能考虑 + //public string Content { get; set; } /// diff --git a/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Discuss/DiscussGetListOutputDto.cs b/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Discuss/DiscussGetListOutputDto.cs index bb5405bb..13acca07 100644 --- a/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Discuss/DiscussGetListOutputDto.cs +++ b/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Application.Contracts/Forum/Dtos/Discuss/DiscussGetListOutputDto.cs @@ -19,7 +19,9 @@ namespace Yi.BBS.Application.Contracts.Forum.Dtos.Discuss public int AgreeNum { get; set; } public int SeeNum { get; set; } - public string Content { get; set; } + + //批量查询,不给内容,性能考虑 + //public string Content { get; set; } public string? Color { get; set; } public long PlateId { get; set; }