|
@@ -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);
|