From d5f5aaf1c1ccd8f774a5003f5abf73bf1cf8291c Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期四, 30 四月 2026 10:56:20 +0800
Subject: [PATCH] 项目穿透控制器,修复接口签名post请求问题,增加自动登录信号接口

---
 WebAPI/Controllers/WebAPIController.cs |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs
index 9e1452f..9157570 100644
--- a/WebAPI/Controllers/WebAPIController.cs
+++ b/WebAPI/Controllers/WebAPIController.cs
@@ -24080,5 +24080,48 @@
                 return objJsonResult;
             }
         }
+        [HttpGet]
+        [Route("Web/getSysParameter")]
+        public object getSysParameter(string HClientID)
+        {
+            var HValue = oSystemParameter.GetSingleSystemParameter("uni-app_savelogin", ref DBUtility.ClsPub.sExeReturnInfo);
+            if (HValue == "3" && HClientID != null)
+            {
+                DataSet ds = oCN.RunProcReturn("select * from Gy_UserClientIdRelation where HClientID= '" + HClientID + "'", "Gy_UserClientIdRelation");
+                if (ds != null && ds.Tables.Count > 0)
+                {
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = "鏍规嵁璁惧鑷姩鐧诲綍";
+                    objJsonResult.data = HValue;
+                    return objJsonResult;
+                }
+                else
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "绯荤粺鍙傛暟涓嶅瓨鍦紝璇疯仈绯荤鐞�";
+                    objJsonResult.data = 0;
+                    return objJsonResult;
+                }
+
+            }
+            else if (HValue == "2" || HValue == "1")
+            {
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "淇濆瓨鎴愬姛";
+                objJsonResult.data = HValue;
+                return objJsonResult;
+            }
+            else
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "绯荤粺鍙傛暟涓嶅瓨鍦紝璇疯仈绯荤鐞�";
+                objJsonResult.data = 0;
+                return objJsonResult;
+            }
+        }
     }
 }

--
Gitblit v1.9.1