public WMSFacade() { client = new HttpClient(); string webapiurl = StringWrapper.GetAppSettingValue("WebApiUrl"); if (string.IsNullOrEmpty(webapiurl)) { webapiurl = "http://localhost/BFM.WebApiService/"; //本地默认地址 } client.BaseAddress = new Uri(webapiurl); }
public EAMFacade() { client = new HttpClient(); client.BaseAddress = new Uri(StringWrapper.GetAppSettingValue("WebApiUrl")); //测试地址:http://localhost/BFM.WebApiService/ }