#
Junjie
3 天以前 959139e7a5d89e8498d731082a949310ae1c6fcf
src/main/java/com/zy/core/News.java
@@ -103,11 +103,11 @@
    }
    public static void info(String format, Object... arguments) {
        if (format.contains("[RCS Debug]")) {
        if (format.contains("[WCS Debug]")) {
            ConfigService configService = SpringUtils.getBean(ConfigService.class);
            if(configService != null) {
                boolean show = true;
                Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "rcsDebugShowLog"));
                Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "wcsDebugShowLog"));
                if(config != null) {
                    show = config.getValue().equals("true");
                }
@@ -138,11 +138,11 @@
    }
    public static void warn(String format, Object... arguments) {
        if (format.contains("[RCS Debug]")) {
        if (format.contains("[WCS Debug]")) {
            ConfigService configService = SpringUtils.getBean(ConfigService.class);
            if(configService != null) {
                boolean show = true;
                Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "rcsDebugShowLog"));
                Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "wcsDebugShowLog"));
                if(config != null) {
                    show = config.getValue().equals("true");
                }
@@ -173,11 +173,11 @@
    }
    public static void error(String format, Object... arguments) {
        if (format.contains("[RCS Debug]")) {
        if (format.contains("[WCS Debug]")) {
            ConfigService configService = SpringUtils.getBean(ConfigService.class);
            if(configService != null) {
                boolean show = true;
                Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "rcsDebugShowLog"));
                Config config = configService.selectOne(new EntityWrapper<Config>().eq("code", "wcsDebugShowLog"));
                if(config != null) {
                    show = config.getValue().equals("true");
                }