From 802f200c004348defca5cefd047ad843c74abadd Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 01 四月 2021 09:21:42 +0800
Subject: [PATCH] Merge branch 'temp-wxr' into WJC

---
 HDL_ON/DAL/Server/HttpServerRequest.cs |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index 4e68b34..ae86846 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -492,8 +492,7 @@
                             Address = mHome.homeAddress,
                             isAllowCreateScene = mHome.isAllowCreateScene,
                         };
-
-                        if (home.isBindGateway)
+                        //if (home.isBindGateway)
                         {
                             UserInfo.Current.regionList.Add(home);
                         }
@@ -2226,11 +2225,25 @@
         public ResponsePackNew EZGetChildToken()
         {
             Dictionary<string, object> d = new Dictionary<string, object>();
-            //d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.RegionID);
             var requestJson = HttpUtil.GetSignRequestJson(d);
             return HttpUtil.RequestHttpsPostFroHome(NewAPI.API_POST_EZ_GetChildToken, requestJson);
         }
         #endregion
 
+
+        #region 鍙瀵硅
+        /// <summary>
+        /// 妫�鏌ヤ綇瀹呮槸鍚︾粦瀹氫赴鏋楋紝骞惰幏鍙栭棬鍙f満鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        public ResponsePackNew CheckFlVideo()
+        {
+            Dictionary<string, object> d = new Dictionary<string, object>();
+            d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.RegionID);
+            var requestJson = HttpUtil.GetSignRequestJson(d);
+            var pack = HttpUtil.RequestHttpsPostFroHome( NewAPI.API_POST_FL_Check, requestJson);
+            return pack;
+        }
+        #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0