chorm: 问题复现

This commit is contained in:
橙子
2024-10-26 00:40:43 +08:00
parent 59d9674aeb
commit 7cb78e70cb
5 changed files with 109 additions and 94 deletions

View File

@@ -132,8 +132,8 @@ namespace Yi.Framework.Bbs.Application.Services.Forum
/// <param name="input"></param>
/// <returns></returns>
/// <exception cref="UserFriendlyException"></exception>
[Permission("bbs:comment:add")]
[Authorize]
// [Permission("bbs:comment:add")]
// [Authorize]
public override async Task<CommentGetOutputDto> CreateAsync(CommentCreateInputVo input)
{
var discuess = await _discussRepository.GetFirstAsync(x => x.Id == input.DiscussId);