fix: 修复点赞权限问题

This commit is contained in:
陈淳
2023-12-13 16:33:42 +08:00
parent 31338846e3
commit 7697acc8aa
3 changed files with 889 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SqlSugar;
using Volo.Abp;
@@ -71,7 +72,7 @@ namespace Yi.Framework.Bbs.Application.Services
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
[Authorize]
public override async Task<PagedResultDto<DiscussGetListOutputDto>> GetListAsync([FromQuery] DiscussGetListInputVo input)
{
//需要关联创建者用户