李昊 vor 4 Jahren
Ursprung
Commit
f617237c10

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/AppControllers/NoticeController.cs

@@ -23,7 +23,7 @@ namespace GxPress.Api.AppControllers
         private readonly INoticeService _noticeService;
         private readonly ILoginContext _loginContext;
 
-        public NoticeController(INoticeRepository noticeRepository,INoticeService noticeService, ILoginContext loginContext)
+        public NoticeController(INoticeRepository noticeRepository, INoticeService noticeService, ILoginContext loginContext)
         {
             _noticeRepository = noticeRepository;
             _noticeService = noticeService;

+ 6 - 0
gx_api/GxPress/Model/GxPress.Entity/tede2/Media/MediaLibrary.cs

@@ -41,5 +41,11 @@ namespace GxPress.Entity.tede2.Media
         /// <value></value>
         [DataColumn]
         public int TypeId { get; set; }
+        /// <summary>
+        /// 章节Id
+        /// </summary>
+        /// <value></value>
+        [DataColumn]
+        public int SectionId { get; set; }
     }
 }

+ 6 - 1
gx_api/GxPress/Model/GxPress.Result/Media/MediaResult.cs

@@ -13,7 +13,7 @@ namespace GxPress.Result.Media
         /// 
         /// </summary>
         public int Id { get; set; }
-        
+
         /// <summary>
         /// 媒体类型
         /// Article=1,
@@ -249,6 +249,11 @@ namespace GxPress.Result.Media
         /// </summary>
         /// <value></value>
         public int TypeId { get; set; }
+        /// <summary>
+        /// 章节Id
+        /// </summary>
+        /// <value></value>
+        public int SectionId { get; set; }
 
     }
     /// <summary>