2021与蓝度共同重构项目,服务端
liuhaonan
2022-10-26 c7be2ef037c5aebb0cd8f1f33e5fa934389e6083
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();