From 8916de38960ffda9a9f9bf09ace9000f40de828d Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 13 一月 2021 11:26:32 +0800
Subject: [PATCH] 2021-01-13 1.增加备份错误码翻译字段。

---
 Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs
index 18094c9..d391493 100644
--- a/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs
+++ b/Crabtree/SmartHome/HDL/Common/HttpUtil/HttpUtil.cs
@@ -391,7 +391,7 @@
         /// <param name="replaceToken"></param>
         /// <param name="mTimeout"></param>
         /// <returns></returns>
-        public static ResponsePackNew RequestHttpsUpload(Method method, string apiPath, object bodyParameterObject = null, Dictionary<string, object> queryDictionary = null, Dictionary<string, object> urlSegmentDictionary = null, string urlHead = "", string replaceToken = "", int mTimeout = 10)
+        public static ResponsePackNew RequestHttpsUpload(Method method, string apiPath, object bodyParameterObject = null, Dictionary<string, object> queryDictionary = null, Dictionary<string, object> urlSegmentDictionary = null, string urlHead = "", string replaceToken = "", int mTimeout = 20)
         {
             #region HttpWebRequest
             try
@@ -408,7 +408,6 @@
                 ////**************娴嬭瘯**************
 
                 RestClient client = new RestClient(requestFullUrl);
-                //client.Timeout = mTimeout * 1000;
                 RestRequest request = new RestRequest(method);
                 request.Timeout = mTimeout * 1000;
                 //request.AddHeader ("content-type", "application/json");

--
Gitblit v1.8.0