From 94d6591af7870ba0f1f7797310c07581d6fcd0b4 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 04 十一月 2022 16:27:14 +0800 Subject: [PATCH] 2022年11月04日16:26:44 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs index bb125ff..33ced02 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs @@ -197,6 +197,7 @@ logicIfon.Add("pushConfigs", pushConfigsArray); logicjArray.Add(logicIfon); var jObject = new JObject { { "homeId", LogicMethod.Current.HomeId }, { "logics", logicjArray } }; + string str = jObject.ToString(); responsePackNew = RequestServerhomeId(jObject, NewAPI.API_POST_Logic_Add, "娣诲姞鑷姩鍖�", 5); //濡傛灉鏄痶oken杩囨湡鍒欏埛鏂皌oken if (responsePackNew.Code == StateCode.TOKEN_EXPIRED) @@ -240,7 +241,10 @@ var inputTypeJOb = new JObject { }; inputTypeJOb.Add("sid", dictionary.sid); inputTypeJOb.Add("condition_type", dictionary.condition_type); - + if (dictionary.condition_type == "9") + { + inputTypeJOb.Add("identifier", dictionary.identifier); + } var conditionArray = new JArray { }; foreach (var dic in dictionary.condition) { -- Gitblit v1.8.0