From 7b96ea115d51fb721130fef8622500740dea7b08 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 25 八月 2022 18:06:29 +0800
Subject: [PATCH] 2022年08月25日18:06:27

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
index 0e4c022..0c1a78e 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
@@ -378,7 +378,7 @@
         /// <param name="logic">褰撳墠瀵硅薄</param>
         /// <param name="isTip">鏄惁瑕佹彁绀�</param>
         /// <returns></returns>
-        public ResponsePackNew SwitchLogic(Logic logic,bool isTip=false)
+        public ResponsePackNew EnableLogic(Logic logic,bool isTip=false)
         {
             var jArray = new JArray { };
             var job = new JObject { { "userLogicId", logic.userLogicId }, { "enable", logic.enable } };
@@ -389,14 +389,14 @@
             if (responsePackNew.Code == StateCode.TOKEN_EXPIRED)
             {
                 RefreshToken();
-                SwitchLogic(logic, isTip);
+                EnableLogic(logic, isTip);
             }
             if (Check(responsePackNew, isTip) == false)
             {
                 return null;
             }
             return responsePackNew;
-        }
+        } 
         /// <summary> 
         /// 鑷姩鍖栧湴鐞嗗洿鏍忕姸鎬佷笂鎶�
         /// </summary>

--
Gitblit v1.8.0