2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-25 d495f9b8cdc83663e4189bc3cc72ac9543ff5555
ximon-admin/src/main/java/com/sandu/ximon/admin/service/PlayPlanNvService.java
@@ -430,7 +430,9 @@
        if (ledProgram.getPages() == null) {
            throw new BusinessException("节目内容丢失");
        }
        if (SecurityUtils.getClientId() != null && !Objects.equals(ledProgram.getClientId(), SecurityUtils.getUserId()) && !Objects.equals(ledProgram.getClientId(), SecurityUtils.getClientId())) {
        if (SecurityUtils.getClientId() != null
                && !Objects.equals(ledProgram.getClientId(), SecurityUtils.getUserId())
                && !Objects.equals(ledProgram.getUserId(), SecurityUtils.getUserId())) {
            throw new BusinessException("请不要操作其他人的节目");
        }
        String pages = ledProgram.getPages();