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"); } }