zuoxiang 5 年之前
父節點
當前提交
d43b2b3036

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/AdminControllers/AdminSlideController.cs

@@ -50,7 +50,7 @@ namespace GxPress.Api.AdminControllers
         /// 列表
         /// </summary>
         /// <returns></returns>
-        [HttpPost]
+        [HttpPost("list")]
         public async Task<PagedList<Slide>> GetListAsync(SlideSearchRequest request)
         {
             var pagedList = await _slideRepository.GetListAsync(request);

+ 1 - 1
gx_api/GxPress/Api/GxPress.Api/Program.cs

@@ -17,7 +17,7 @@ namespace GxPress.Api
             return Host.CreateDefaultBuilder(args)
                 .ConfigureWebHostDefaults(webBuilder =>
                 {
-                    webBuilder.UseUrls("http://0.0.0.0:83/");
+                    webBuilder.UseUrls("http://0.0.0.0:84/");
                     webBuilder.UseSerilog((hostingContext, loggerConfiguration) =>
                     {
                         loggerConfiguration.ReadFrom.Configuration(hostingContext.Configuration);

+ 12 - 0
gx_api/GxPress/Model/GxPress.Entity/tede2/Attach/Attach.cs

@@ -115,5 +115,17 @@ namespace GxPress.Entity.tede2.Attach
         /// <value></value>
         [DataColumn]
         public AttachTypeConst AttachType { get; set; }
+        /// <summary>
+        /// 栏目ID
+        /// </summary>
+        /// <value></value>
+        [DataColumn]
+        public int LabelId { get; set; }
+         /// <summary>
+        /// 栏目名称
+        /// </summary>
+        /// <value></value>
+        [DataColumn]
+        public int LabelName { get; set; }
     }
 }