初始化配置的修改

web_backend_develope
chenlw 9 years ago
parent 08dd21dc36
commit 8911661a56

@ -90,7 +90,7 @@ public class Configs {
public static int dataBefore = 6; public static int dataBefore = 6;
/** /**
* * excel12
*/ */
public static int NUM_ONE_IMPORT_EXCEL = 12; public static int NUM_ONE_IMPORT_EXCEL = 12;

@ -104,7 +104,7 @@ public class ConfigsLoader implements ServletContextListener {
Configs.COLLECT_PAY_TABLE = properties.getProperty("collect-pay-table"); Configs.COLLECT_PAY_TABLE = properties.getProperty("collect-pay-table");
HttpClientConstant.URL_IP_PORT = properties.getProperty("HttpClientConstant_URL_IP_PORT").trim(); HttpClientConstant.URL_IP_PORT = properties.getProperty("HttpClientConstant_URL_IP_PORT").trim();
Constant.moveFileMaxNum=Integer.valueOf(properties.getProperty("moveFileMaxNum").trim());
Constant.hostIp=properties.getProperty("gfs_control_ip").trim(); Constant.hostIp=properties.getProperty("gfs_control_ip").trim();
Constant.rootPasswd=properties.getProperty("gfs_control_rootPassWd").trim(); Constant.rootPasswd=properties.getProperty("gfs_control_rootPassWd").trim();
Constant.ganymedSSH = new GanymedSSH(Constant.hostIp, Constant.rootUser, Constant.rootPasswd, Constant.port); Constant.ganymedSSH = new GanymedSSH(Constant.hostIp, Constant.rootUser, Constant.rootPasswd, Constant.port);

@ -38,7 +38,7 @@ public class Constant {
/** /**
* *
*/ */
public final static int moveFileMaxNum = 1; public static int moveFileMaxNum = 1;
/** /**
* volume 线 * volume 线

Loading…
Cancel
Save