mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-17 06:56:37 +08:00
chorm: 问题复现
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user