Ver Código Fonte

大屏显示

duhongyu 5 anos atrás
pai
commit
cbb7b4e82d

+ 1 - 1
CallCenterApi.Common/HttpMethods.cs

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

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

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