#
Junjie
2026-01-06 ff1aa7a9218e458dfd9255b1f87490af52afb62a
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");
                }