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

+ 14 - 0
gx_api/GxPress/Api/GxPress.Api/AppControllers/AppPageController.cs

@@ -65,6 +65,20 @@ namespace GxPress.Api.AppControllers
             return await appHomePageService.GetDayGoodTextAsync(request);
         }
         /// <summary>
+        /// 每日微课
+        /// </summary>
+        /// <param name="request"></param>
+        /// <returns></returns>
+        [HttpPost("day-we-book")]
+        [AllowAnonymous]
+        public async Task<PagedList<MediaCathedraResult>> GetDayWeBookAsync(MediaSearchRequest request)
+        {
+            request.MediaType = GxPress.EnumConst.AllTypeConst.Curriculum.GetHashCode();
+            request.IsDelete = 0;
+            request.IsChecked = 1;
+            return await appHomePageService.GetDayGoodTextAsync(request);
+        }
+        /// <summary>
         /// 信源听说
         /// </summary>
         /// <param name="request"></param>