Explorar el Código

apiParamCount字段需要筛选,只查请求参数

lichunlei hace 7 meses
padre
commit
1cfb7d3219
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Model/Database/ApiInfo.cs

+ 2 - 1
Model/Database/ApiInfo.cs

@@ -1,3 +1,4 @@
+using System.Linq;
 using Mapster;
 using Util;
 using static System.Runtime.InteropServices.JavaScript.JSType;
@@ -164,7 +165,7 @@ namespace Model
             {
                 if (apiParam != null)
                 {
-                    return apiParam.Count;
+                    return apiParam.Count(m => m.reqParam);
                 }
                 else
                 {