فهرست منبع

测试,调试

lcl 8 ماه پیش
والد
کامیت
98d6366693

+ 4 - 0
Filters/GlobalActionMonitor.cs

@@ -96,6 +96,10 @@ namespace Middleware
                                                     if(value == null || value == "") value = "0";
                                                     value = Convert.ToInt64(value);
                                                 }
+                                                else if(ParameterType == "Boolean")
+                                                {
+                                                    if(value == null || value == "") value = false;
+                                                }
                                                 else if (ParameterType == "Int64[]")
                                                 {
                                                     value = Tools.SpitLongArrary(Newtonsoft.Json.JsonConvert.SerializeObject(value).Replace("[", "").Replace("]", "").Trim('"'), ',');

+ 6 - 0
Model/Dto/AppBottomNavsAddDto.cs

@@ -106,6 +106,12 @@ namespace Dto
         public string? statusBarColor { get; set; }
 
 
+        /// <summary>
+        /// 分类
+        /// </summary>
+        public string? kind { get; set; }
+
+
 
     }
 }

+ 6 - 0
Model/Dto/AppVersionAddDto.cs

@@ -51,6 +51,12 @@ namespace Dto
         public string? downloadUrl { get; set; }
 
 
+        /// <summary>
+        /// 分类
+        /// </summary>
+        public string? kind { get; set; }
+
+
 
     }
 }

+ 2 - 0
Model/Vo/AppBottomNavsQueryVo.cs

@@ -7,6 +7,8 @@ namespace Vo
     /// </summary>
     public class AppBottomNavsQueryVo
     {
+        public string id { get; set; }
+
         /// <summary>
         /// 标题
         /// </summary>

+ 1 - 0
Model/Vo/AppVersionQueryVo.cs

@@ -7,6 +7,7 @@ namespace Vo
     /// </summary>
     public class AppVersionQueryVo
     {
+        public int id { get; set; }
         /// <summary>
         /// 终端类型
         /// </summary>

+ 2 - 2
Services/AppBottomNavsService.cs

@@ -43,9 +43,9 @@ namespace Services
         /// </summary>
         /// <param name="parm">请求参数</param>
         /// <returns>生成APP配置文件</returns>
-        public string makeAppInitData([FromQuery] PageUpdateInfoListDto parm)
+        public string makeAppInitData(string kind)
         {
-            var obj = GetList(m => m.kind == parm.kind);
+            var obj = GetList(m => m.kind == kind);
             string str = Newtonsoft.Json.JsonConvert.SerializeObject(obj);
             return Dbconn.Encrypt3DES(str, "*ga34|^7");
         }