old mode 100644
new mode 100755
| | |
| | | /// <returns></returns> |
| | | public static ResponsePackNew RequestHttpsPostFroHome(string apiPath, string bodyParameterJson, int mTimeout = 10) |
| | | { |
| | | string urlHead = DB_ResidenceData.residenceData.residecenInfo.regionUrl; |
| | | string urlHead = DB_ResidenceData.Instance.CurrentRegion.regionUrl; |
| | | //var replaceToken = ""; |
| | | //if (DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) |
| | | //{ |
| | |
| | | |
| | | if (string.IsNullOrEmpty(urlHead)) |
| | | { |
| | | urlHead = UserInfo.Current.RequestHttpsHost; |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |
| | |
| | | { |
| | | if (string.IsNullOrEmpty(urlHead)) |
| | | { |
| | | urlHead = UserInfo.Current.RequestHttpsHost; |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |
| | |
| | | |
| | | if (string.IsNullOrEmpty(urlHead)) |
| | | { |
| | | urlHead = UserInfo.Current.RequestHttpsHost; |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |