Sfoglia il codice sorgente

模块支持系统参数改为数组

lichunlei 8 mesi fa
parent
commit
d58fc977d3

+ 4 - 1
Controllers/Admin/AppModuleController.cs

@@ -8,6 +8,7 @@ using Mapster;
 using Infrastructure;
 using Dto.Admin;
 using SqlSugar.Extensions;
+using Common;
 
 
 namespace Controllers.Admin
@@ -56,7 +57,9 @@ namespace Controllers.Admin
         [Route("/v1/omega_source/AppModule/getAppModuleQuery")]
         public IActionResult getAppModuleQuery([FromQuery] AppModule param)
         {
-            var response = _AppModuleService.GetFirst(m => m.id == param.id).Adapt<GetAppModuleQueryVo>();
+            var item = _AppModuleService.GetFirst(m => m.id == param.id);
+            var response = item.Adapt<GetAppModuleQueryVo>();
+            response.systemSupport = Tools.SplitAndConvert<string>(item.systemSupport);
             return SUCCESS(response);
         }
 

+ 24 - 0
Model/Vo/Admin/GetAppModuleQueryVo.cs

@@ -49,6 +49,30 @@ namespace Vo.Admin
         public string moduleDetail { get; set; }
 
 
+        /// <summary>
+        /// 状态
+        /// </summary>
+        public int status { get; set; }
+
+
+        /// <summary>
+        /// 模块功能
+        /// </summary>
+        public string? moduleFeature { get; set; }
+
+
+        /// <summary>
+        /// 使用厂商
+        /// </summary>
+        public string? factoryOwner { get; set; }
+
+
+        /// <summary>
+        /// 支付系统
+        /// </summary>
+        public string[] systemSupport { get; set; }
+
+
 
     }
 }