ソースを参照

Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop

LEIYI 6 ヶ月 前
コミット
8904176f66
共有1 個のファイルを変更した2 個の追加7 個の削除を含む
  1. 2 7
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 2 - 7
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -15033,7 +15033,7 @@ And (UnitName != '' Or UnitName != null) {sqlWhere}");
 
             if (param.ContainsKey("methon"))
             {
-                methon = param["methon"]!.ToString();
+                methon = param["methon"]!.ToString().ToLower();
             }
 
             if (param.ContainsKey("header"))
@@ -15065,11 +15065,6 @@ And (UnitName != '' Or UnitName != null) {sqlWhere}");
             HttpClient client = new HttpClient();
             string responseString = string.Empty;
 
-            if (param.ContainsKey("isJson"))
-            {
-
-            }
-
             if (headValues != null)
             {
                 foreach (var item in headValues.Keys)
@@ -15102,7 +15097,7 @@ And (UnitName != '' Or UnitName != null) {sqlWhere}");
                 }
                 else
                 {
-                    jw.Msg = "methon error";
+                    responseString = "methon error";
                 }
 
                 jw = JsonView(true, "success", responseString);