You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
369 B
19 lines
369 B
package com.hai.config;
|
|
|
|
public class CommonSysConst {
|
|
|
|
private static CommonSysConfig sysConfig;
|
|
|
|
public static void setSysConfig(CommonSysConfig arg){
|
|
sysConfig = arg;
|
|
}
|
|
|
|
public static CommonSysConfig getSysConfig(){
|
|
if (null == sysConfig) {
|
|
//防止空指针异常
|
|
sysConfig = new CommonSysConfig();
|
|
return sysConfig;
|
|
}
|
|
return sysConfig;
|
|
}
|
|
}
|
|
|