apzl_leasing/src_cmb/com/tenwa/cgb/conf/CGBconfProperties.java
2021-07-29 10:27:26 +08:00

33 lines
828 B
Java

package com.tenwa.cgb.conf;
import java.io.IOException;
import java.util.Properties;
/**
* ¹ã·¢ÒøÆóÖ±ÁªÅäÖÃ
*
* @program: apzl_leasing
* @author: yjf
* @create: 2021-07-20 08:24
**/
public class CGBconfProperties {
public static final String CIFMASTER;
public static final String ENTUSERID;
public static final String PASSWORD;
public static final String CGBURL;
static {
Properties prop = new Properties();
try {
prop.load(CGBconfProperties.class.getResourceAsStream("/cgb.properties"));
} catch (IOException e) {
e.printStackTrace();
}
CIFMASTER = prop.getProperty("cifMaster");
ENTUSERID = prop.getProperty("entUserId");
PASSWORD = prop.getProperty("password");
CGBURL = prop.getProperty("cgbUrl");
}
}