feat: 简化测试

This commit is contained in:
橙子
2024-10-26 01:12:06 +08:00
parent 7cb78e70cb
commit bbc18dcaf9
2 changed files with 29 additions and 1 deletions

View File

@@ -8,6 +8,14 @@ namespace Yi.Framework.Bbs.Application.Contracts.IServices
/// </summary>
public interface ICommentService : IYiCrudAppService<CommentGetOutputDto, CommentGetListOutputDto, Guid, CommentGetListInputVo, CommentCreateInputVo, CommentUpdateInputVo>
{
/// <summary>
/// 发表评论
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="UserFriendlyException"></exception>
// [Permission("bbs:comment:add")]
// [Authorize]
Task<CommentGetOutputDto> CreateAsync(CommentCreateInputVo input);
}
}