static {
try {
/**
* 从配置文件中读取数据 使用Java方式读取
*/
Properties pro = new Properties();
pro.load(FileLoader.class.getResourceAsStream("/assets/IpConfig.properties"));
url = pro.getProperty("wcfHttpsAddress");
httpType = Integer.parseInt(pro.getProperty("httpType"));
} catch (Exception e) {
Log.e("读取资源文件异常",e.toString());
}
}