39 lines
1.1 KiB
Java
39 lines
1.1 KiB
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;
|
|
public static final String OWNACCBANK;
|
|
public static final String OWNACCNAME;
|
|
public static final String OWNACCNUMBER;
|
|
|
|
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");
|
|
OWNACCBANK = prop.getProperty("ownAccBank");
|
|
OWNACCNAME = prop.getProperty("ownAccName");
|
|
OWNACCNUMBER = prop.getProperty("ownAccNumber");
|
|
}
|
|
}
|