Browse Source

接口实体类,增加apiParamFirstParamType

lichunlei 5 months ago
parent
commit
25f507d657
1 changed files with 15 additions and 0 deletions
  1. 15 0
      Model/Database/ApiInfo.cs

+ 15 - 0
Model/Database/ApiInfo.cs

@@ -187,6 +187,21 @@ namespace Model
                 }
                 }
             }
             }
         }
         }
+        [SugarColumn(IsIgnore = true)]
+        public string? apiParamFirstParamType
+        {
+            get
+            {
+                if (apiParamCount > 0)
+                {
+                    return apiParam[0].fieldType;
+                }
+                else
+                {
+                    return "";
+                }
+            }
+        }
 
 
 
 
         /// <summary>
         /// <summary>