李昊 4 年之前
父節點
當前提交
d399cba7d9
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      gx_api/GxPress/Api/GxPress.Api/AppControllers/AppPageController.cs

+ 4 - 2
gx_api/GxPress/Api/GxPress.Api/AppControllers/AppPageController.cs

@@ -286,7 +286,7 @@ namespace GxPress.Api.AppControllers
         /// <summary>
         /// 获取App频道
         /// </summary>
-        /// /// <returns></returns>
+        /// <returns></returns>
         [HttpGet("channel")]
         [AllowAnonymous]
         public async Task<IEnumerable<AppChannelModelResult>> GetAppChannelsAsync()
@@ -298,15 +298,17 @@ namespace GxPress.Api.AppControllers
         /// </summary>
         /// <returns></returns>
         [HttpGet("channel-category/{appChannelId}")]
+        [AllowAnonymous]
         public async Task<IEnumerable<ChannelCategoryResult>> GetAllAsync(int appChannelId)
         {
             return await appChannelService.GetAllAsync(appChannelId);
         }
         /// <summary>
-        /// 根据频道分类ID
+        /// 根据频道分类ID获取分页数据
         /// </summary>
         /// <returns></returns>
         [HttpPost("channel-category-media")]
+        [AllowAnonymous]
         public async Task<PagedList<MediaCathedraResult>> GetChannelCategoryMediaPageAsync(AppChannelSearchRequest request)
         {
             return await appChannelService.GetChannelCategoryMediaPageAsync(request);