duhongyu vor 5 Jahren
Ursprung
Commit
cbb7b4e82d

+ 1 - 1
CallCenterApi.Common/HttpMethods.cs

@@ -299,7 +299,7 @@ namespace CallCenterApi.Common
299 299
             request.Method = "GET";
300 300
             //request.ContentType = "application/x-www-form-urlencoded";
301 301
             request.Accept = "*/*";
302
-            request.Timeout = 15000;
302
+            request.Timeout = 1500000;
303 303
             request.AllowAutoRedirect = false;
304 304
             WebResponse response = null;
305 305
             string responseStr = null;

+ 1 - 1
CallCenterApi.Interface/Controllers/InfoController.cs

@@ -1021,7 +1021,7 @@ namespace CallCenterApi.Interface.Controllers
1021 1021
                     string strparams = "?start=" + start.Value.ToString("yyyy-MM-dd") + "&end=" + end.Value.ToString("yyyy-MM-dd") + "&deptid=" + deptid.ToString() + "&areaid=" + areaid + "&signcode=" + signcode;
1022 1022
 
1023 1023
                     AjaxResult ar = HttpMethods.HttpGet(l.F_Url + "/" + controllername + "/" + actionname + strparams).ToObject<AjaxResult>();
1024
-
1024
+                   
1025 1025
                     if (ar.state.ToString() == ResultTypes.success.ToString())
1026 1026
                     {
1027 1027
                         var rtlist = ar.data.ToJson().ToList<Dictionary<string, object>>();