From 3f6685c77beeb12baf840733fb890860f4c26e7c Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期四, 25 七月 2024 17:25:59 +0800
Subject: [PATCH] 2024年07月25日17:24:45

---
 HDL_ON/UI/UI2/FuntionControlView/Video/VideoSend.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Video/VideoSend.cs b/HDL_ON/UI/UI2/FuntionControlView/Video/VideoSend.cs
index ae759bb..96acc51 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Video/VideoSend.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Video/VideoSend.cs
@@ -3,6 +3,7 @@
 using System.IO;
 using System.Net;
 using HDL_ON.DAL.Server;
+using HDL_ON.Entity;
 using HDL_ON.UI.UI2.PersonalCenter.PirDevice;
 using Newtonsoft.Json.Linq;
 using Shared;
@@ -82,6 +83,22 @@
         }
 
         /// <summary>
+        /// 鑾峰彇闂ㄧ浜岀淮鐮侊紙鑷爺锛�
+        /// </summary>
+        /// <returns></returns>
+        public static ResponsePackNew GetQRcode()
+        {
+            var jobject = new JObject();
+            jobject.Add("userId", UserInfo.Current.ID);
+            jobject.Add("userType", "C");
+            jobject.Add("houseId", DB_ResidenceData.Instance.CurrentRegion.id);
+            jobject.Add("codeSecond", "60");
+            var requestJson = HttpUtil.GetSignRequestJson(jobject);//鏁版嵁绛惧悕
+            var revertObj = HttpUtil.RequestHttpsPostFroHome(NewAPI.API_POST_OwnerQRCode, requestJson);
+            return revertObj;
+        }
+
+        /// <summary>
         /// 涓婃姤鍔ㄦ�佸紑閿佸瘑鐮�(娉ㄦ剰锛氬瘑鐮佹湁鍙兘寤舵椂1鍒嗛挓鐢熸晥)
         /// </summary>
         public static void GetQRcode(FrameLayout frame, Video video, Action<bool, string> action)

--
Gitblit v1.8.0