李昊 4 年 前
コミット
19497afc7a

+ 6 - 0
gx_api/GxPress/Model/GxPress.Entity/SystemLabel/SpecialLabel.cs

@@ -42,5 +42,11 @@ namespace GxPress.Entity.SystemLabel
         /// <value></value>
         [DataColumn]
         public int Sort { get; set; }
+        /// <summary>
+        /// 中间件页面ID
+        /// </summary>
+        /// <value></value>
+        [DataColumn]
+        public int MiddleLable { get; set; }
     }
 }

+ 2 - 0
gx_api/GxPress/Repository/GxPress.Repository.Implement/SpecialLabel/SpecialLabelRepository.cs

@@ -57,6 +57,8 @@ namespace GxPress.Repository.Implement.SpecialLabel
                 specialLabel.Title = model.Title;
             if (model.TypeValue > 0)
                 specialLabel.TypeValue = model.TypeValue;
+            if (model.MiddleLable > 0)
+                specialLabel.MiddleLable = model.MiddleLable;
             return await _repository.UpdateAsync(specialLabel);
         }
         /// <summary>