2023-12-11 09:55:12 +08:00
|
|
|
using Yi.Framework.Bbs.Application.Contracts.Dtos.Comment;
|
|
|
|
|
using Yi.Framework.Ddd.Application.Contracts;
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Bbs.Application.Contracts.IServices
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Comment服务抽象
|
|
|
|
|
/// </summary>
|
2024-10-26 15:11:45 +08:00
|
|
|
public interface ICommentService{
|
2024-10-26 01:12:06 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 发表评论
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="input"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
/// <exception cref="UserFriendlyException"></exception>
|
|
|
|
|
// [Permission("bbs:comment:add")]
|
|
|
|
|
// [Authorize]
|
|
|
|
|
Task<CommentGetOutputDto> CreateAsync(CommentCreateInputVo input);
|
2023-12-11 09:55:12 +08:00
|
|
|
}
|
|
|
|
|
}
|