| | |
| | | { |
| | | |
| | | #region **********全局常量********** |
| | | ///// <summary> |
| | | ///// API_HTTPS |
| | | ///// </summary> |
| | | //public const string API_HTTPS = "https://"; |
| | | /// <summary> |
| | | /// 固定域名,正式环境 |
| | | /// 公共域名就近解析 |
| | | /// </summary> |
| | | //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm |
| | | /// <summary> |
| | | /// RegionMark |
| | | /// </summary> |
| | |
| | | #endregion |
| | | |
| | | #region **********网络请求封装********** |
| | | /// <summary> |
| | | /// 固定域名,正式环境 |
| | | /// 公共域名就近解析 |
| | | /// </summary> |
| | | //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; |
| | | |
| | | /// <summary> |
| | | /// Get 请求服务器方法 |
| | |
| | | { |
| | | urlHead = OnAppConfig.Instance.RequestHttpsHost; |
| | | } |
| | | //"https://test-gz.hdlcontrol.com"; |
| | | //"https://bahrain-gateway.hdlcontrol.com"; |
| | | //urlHead="https://china-gateway.hdlcontrol.com"; |
| | | string requestFullUrl = urlHead + apiPath; |
| | | |
| | | |