MaatCfg部分缺省值提到配置文件中,doLog缺省值改为1

This commit is contained in:
wangxin
2018-07-27 10:25:31 +08:00
parent 90de79f408
commit fc45958634
3 changed files with 18 additions and 5 deletions

View File

@@ -7,6 +7,13 @@ import java.util.Map;
import com.google.gson.GsonBuilder;
public final class Constants {
/**
* MaatConfig 默认值
*/
public static Integer MAAT_CFG_DOLOG_DEFAULT=Configurations.getIntProperty("maat_cfg_dolog_default", 1);
public static Integer MAAT_CFG_DOLOG_DOBLACKLIST_DEFAULT=Configurations.getIntProperty("maat_cfg_dolog_doblacklist_default", 1);
public static Integer MAAT_CFG_DOLOG_CONFIGPERCENT_DEFAULT=Configurations.getIntProperty("maat_cfg_dolog_configpercent_default", 100);
public static Integer MAAT_CFG_DOLOG_CONFIGOPTION_DEFAULT=Configurations.getIntProperty("maat_cfg_dolog_configoption_default", 1);
/**
* iP默认值
*/