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.
20 lines
340 B
20 lines
340 B
6 months ago
|
package com.hfkj.config;
|
||
|
|
||
|
public class SysConst {
|
||
|
|
||
|
private static SysConfig sysConfig;
|
||
|
|
||
|
public static void setSysConfig(SysConfig arg){
|
||
|
sysConfig = arg;
|
||
|
}
|
||
|
|
||
|
public static SysConfig getSysConfig(){
|
||
|
if (null == sysConfig) {
|
||
|
//防止空指针异常
|
||
|
sysConfig = new SysConfig();
|
||
|
return sysConfig;
|
||
|
}
|
||
|
return sysConfig;
|
||
|
}
|
||
|
}
|