From 6ec12a036c96a200fc0a941967d6b4d07592f863 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 17 十二月 2020 14:31:17 +0800
Subject: [PATCH] Merge branch 'tzy' into NewFilePath

---
 HDL_ON/DAL/Server/HttpServerRequest.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index 66f61fc..97da5b8 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -135,6 +135,11 @@
         {
             try
             {
+                if (strUrl.Contains("app/home/deliver") == false)
+                {
+                    //闈炴硶鐨刄RL 杩斿洖涓�涓嚜瀹氫箟鐨勭姸鎬佺爜
+                    return new ResponsePackNew() { Code = "-100" };
+                }
                 var client = new RestSharp.RestClient(strUrl);
 
                 var request = new RestSharp.RestRequest(RestSharp.Method.GET);
@@ -521,6 +526,7 @@
                             homeRegionName = mHome.homeRegionName,
                             homeRegionId = mHome.homeRegionId,
                             Address = mHome.homeAddress,
+                            isAllowCreateScene = mHome.isAllowCreateScene,
                         };
                         UserInfo.Current.regionList.Add(home);
                     }
@@ -2049,6 +2055,7 @@
             {
                 d.Add("roomType", GetType);
             }
+            d.Add("pageSize", "1000");
             var requestJson = HttpUtil.GetSignRequestJson(d);
             var pack = HttpUtil.RequestHttpsPostFroHome(NewAPI.Api_Post_GetRoomList, requestJson);
             

--
Gitblit v1.8.0