Browse Source

Merge branch 'master' of https://git.dev.tencent.com/xuhuo1234/saga

xulisong 6 years ago
parent
commit
93c6514457

+ 1 - 1
MBI/MBIResource/Config/HttpSetting.ini

@@ -1,6 +1,6 @@
 [Configure]
 GoodHandLocalHost = http://service.sagacloud.cn:28888/godhand/
-DataPlatformLocalHost = http://service.sagacloud.cn:28888/
+DataPlatformLocalHost = http://47.93.33.207:28888/
 ScanBuildingLocalHost = http://mbi.sagacloud.cn:8080/ScanBuilding/
 OssClientFileKey = files/revit/
 GplotViewHost = http://mbi.sagacloud.cn:8888/#/

BIN
MBI/MBIResource/DataCheck/模型检查结果输出格式-模版.xlsx


+ 1 - 1
MBI/SAGA.DotNetUtils/Http/HttpUtils.cs

@@ -76,7 +76,7 @@ namespace SAGA.DotNetUtils.Http
                     request.ServicePoint.ConnectionLimit = int.MaxValue;
                     request.AllowWriteStreamBuffering = false;
                     request.Proxy = null;
-
+                    request.Timeout= 300 * 1000; //网络响应慢而导致超时,设置为 5 minutes
                     request.Method = Method.ToString();
                     request.ContentLength = 0;
                     request.ContentType = ContentType;

+ 1 - 1
MBI/SAGA.MBI/Common/MBIConst.cs

@@ -77,7 +77,7 @@ namespace SAGA.MBI.Common
                 if (url.IsNullOrEmpty())
                 {
                     //url = "http://192.168.20.225:8080/";
-                    url = "http://service.sagacloud.cn:28888/";
+                    url = "47.93.33.207:28888/";
                     ProjectDirOperate.SaveConfigureInfo(key, url);
                 }
                 return url;