#
Junjie
2025-11-17 270a27a7faf962ed8748825b57dd3df479bcf93a
#
2个文件已修改
18 ■■■■ 已修改文件
src/main/java/com/zy/core/News.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/debugParam/debugParam.html 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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");
                }
src/main/webapp/views/debugParam/debugParam.html
@@ -79,8 +79,8 @@
                        <div class="show-box">
                            <div>输出RCS调试日志</div>
                            <el-radio border v-model="codeMap.rcsDebugShowLog" label="true">开</el-radio>
                            <el-radio border v-model="codeMap.rcsDebugShowLog" label="false">关</el-radio>
                            <el-radio border v-model="codeMap.wcsDebugShowLog" label="true">开</el-radio>
                            <el-radio border v-model="codeMap.wcsDebugShowLog" label="false">关</el-radio>
                        </div>
                    </div>
@@ -273,7 +273,7 @@
                            data.push('shuttleOutLiftLocationDistance');
                            data.push('shuttleMoveCommandsContinuously');
                            data.push('trafficControlRestartCalcPath');
                            data.push('rcsDebugShowLog');
                            data.push('wcsDebugShowLog');
                        }else if (type == "charge") {
                            data.push('chargeMaxValue');
                            data.push('shuttlePowerEarlyValue');