コード例 #1
0
        public WMSFacade()
        {
            client = new HttpClient();
            string webapiurl = StringWrapper.GetAppSettingValue("WebApiUrl");

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