From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 ZigbeeApp/Shared/Phone/Common/Logic/HdlTemplateCommonLogic.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Common/Logic/HdlTemplateCommonLogic.cs b/ZigbeeApp/Shared/Phone/Common/Logic/HdlTemplateCommonLogic.cs
index 5cd1781..8bb9dae 100644
--- a/ZigbeeApp/Shared/Phone/Common/Logic/HdlTemplateCommonLogic.cs
+++ b/ZigbeeApp/Shared/Phone/Common/Logic/HdlTemplateCommonLogic.cs
@@ -758,7 +758,7 @@
         /// <returns></returns>
         public List<CloundModelBaseInfo> GetCloundAllModelList(ShowNetCodeMode mode= ShowNetCodeMode.YES)
         {
-            var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/template/metaInfo/findAll", RestSharp.Method.POST, null);
+            var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/template/metaInfo/findAll", RestSharp.Method.POST, null);
             //妫�娴嬬姸鎬佺爜
             if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false)
             {
@@ -862,7 +862,7 @@
                 var dicQuery = new Dictionary<string, object>();
                 dicQuery["fileName"] = "ModelData_Cloud_" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".bin";
                 dicQuery["templateId"] = templateId;
-                var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/template/file/add", RestSharp.Method.POST, Encoding.UTF8.GetBytes(binFileData), dicQuery, null, CheckMode.A涓嶆娴�, true, 10);
+                var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/template/file/add", RestSharp.Method.POST, Encoding.UTF8.GetBytes(binFileData), dicQuery, null, CheckMode.A涓嶆娴�, true, 10);
                 //妫�娴嬬姸鎬佺爜
                 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == true)
                 {
@@ -888,7 +888,7 @@
         {
             var pra = new { templateName = i_saveName };
 
-            var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/template/metaInfo/add", RestSharp.Method.POST, pra);
+            var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/template/metaInfo/add", RestSharp.Method.POST, pra);
             //妫�娴嬬姸鎬佺爜
             if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false)
             {
@@ -919,7 +919,7 @@
                 var pra = new { templateId = i_templateId };
 
                 //鑾峰彇鎸囧畾妯℃澘鐨勫垪琛ㄦ枃浠�
-                var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/template/file/findAll", RestSharp.Method.POST, pra);
+                var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/template/file/findAll", RestSharp.Method.POST, pra);
                 //妫�娴嬬姸鎬佺爜
                 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false)
                 {
@@ -941,7 +941,7 @@
 
                 //涓嬭浇妯℃澘鐨勫唴瀹�
                 var pra2 = new { templateFileId = listFileData[0].Id, templateMetaInfoId = i_templateId };
-                var byteContent = HdlHttpLogic.Current.RequestByteFromZigbeeHttps("home-wisdom/template/file/downOne", RestSharp.Method.POST, pra2, null, null, CheckMode.A涓嶆娴�, true, 10);
+                var byteContent = HdlHttpLogic.Current.RequestByteFromZigbeeHttps("home-wisdom/app/template/file/downOne", RestSharp.Method.POST, pra2, null, null, CheckMode.A涓嶆娴�, true, 10);
                 if (byteContent == null || byteContent.Length == 0)
                 {
                     //涓嬭浇妯℃澘澶辫触
@@ -1016,7 +1016,7 @@
         {
             var pra = new { templateId = i_templateId };
 
-            var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/template/metaInfo/delete", RestSharp.Method.POST, pra);
+            var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/template/metaInfo/delete", RestSharp.Method.POST, pra);
             if (result != null && result.Code == HttpMessageEnum.A10605)
             {
                 //妯℃澘瀵硅薄涓嶅瓨鍦�,褰撳仛鎴愬姛

--
Gitblit v1.8.0