李昊 4 gadi atpakaļ
vecāks
revīzija
e5dd48ea3a

+ 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>