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/HdlBackupLogic.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Common/Logic/HdlBackupLogic.cs b/ZigbeeApp/Shared/Phone/Common/Logic/HdlBackupLogic.cs index 3c14b41..fce1d85 100644 --- a/ZigbeeApp/Shared/Phone/Common/Logic/HdlBackupLogic.cs +++ b/ZigbeeApp/Shared/Phone/Common/Logic/HdlBackupLogic.cs @@ -49,7 +49,7 @@ public List<BackupListNameInfo> GetBackupListNameFromDB(BackUpMode backupDiv, ShowNetCodeMode mode = ShowNetCodeMode.YES, bool getOptionBackup = false) { var pra = new { homeId = Config.Instance.Home.Id }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/backup/folder/findAll", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/backup/folder/findAll", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); //妫�娴嬬姸鎬佺爜 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false) { @@ -125,7 +125,7 @@ //鈽呰缃渶瑕佽幏鍙栫殑鏂囦欢鍚嶅瓧鈽� var pra = new { fileId = dicFile[fileName], folderId = i_folderId, homeId = Config.Instance.Home.Id }; - var result = HdlHttpLogic.Current.RequestByteFromZigbeeHttps("home-wisdom/backup/file/downOne", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺, true, 10); + var result = HdlHttpLogic.Current.RequestByteFromZigbeeHttps("home-wisdom/app/backup/file/downOne", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺, true, 10); //妫�娴嬬姸鎬佺爜 if (result == null || result.Length == 0) { @@ -169,7 +169,7 @@ { //鑾峰彇杩欎釜澶囦唤涓嬬殑鏂囦欢鍒楄〃 var pra = new { folderId = i_folderId, homeId = Config.Instance.Home.Id }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/backup/file/findAll", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/backup/file/findAll", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); //妫�娴嬬姸鎬佺爜 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false) { @@ -209,7 +209,7 @@ folderName = backupName, homeId = Config.Instance.Home.Id }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/backup/folder/create", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/backup/folder/create", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); //妫�娴嬬姸鎬佺爜 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false) { @@ -459,7 +459,7 @@ dicQuery["fileName"] = i_fileName; dicQuery["homeId"] = Config.Instance.Home.Id; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/backup/file/create", RestSharp.Method.POST, i_content, dicQuery, null, CheckMode.A璐﹀彿鏉冮檺, true, 10); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/backup/file/create", RestSharp.Method.POST, i_content, dicQuery, null, CheckMode.A璐﹀彿鏉冮檺, true, 10); //妫�娴嬬姸鎬佺爜 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false) { @@ -482,7 +482,7 @@ public bool EditorBackupName(string i_folderId, string i_backName, ShowNetCodeMode mode = ShowNetCodeMode.YES) { var pra = new { folderId = i_folderId, folderName = i_backName, homeId = Config.Instance.Home.Id }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/backup/folder/update", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/backup/folder/update", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); //妫�娴嬬姸鎬佺爜 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false) { @@ -724,7 +724,7 @@ public bool DeleteDbBackupData(string i_folderId, ShowNetCodeMode mode = ShowNetCodeMode.YES) { var pra = new { folderId = i_folderId, homeId = Config.Instance.Home.Id }; - var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/backup/folder/delete", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); + var result = HdlHttpLogic.Current.RequestResponseFromZigbeeHttps("home-wisdom/app/backup/folder/delete", RestSharp.Method.POST, pra, null, null, CheckMode.A璐﹀彿鏉冮檺); //妫�娴嬬姸鎬佺爜 if (HdlCheckLogic.Current.CheckNetCode(result, mode) == false) { -- Gitblit v1.8.0