ard-work/src/main/java/com/ard/tianyu/aspect/ControlAuthorityAspect.java
@@ -57,8 +57,8 @@ String boxSn = getBoxSn(arg); if (boxSn != null) { //判断无人机控制者是否为当前登录用户 Long currentControllerId = UavControlManager.droneControlMap.get(boxSn); if (currentControllerId != null && currentControllerId.equals(SecurityUtils.getUserId())) { Long controller = UavControlManager.droneControlMap.get(boxSn); if (controller != null && controller.equals(SecurityUtils.getUserId())) { return true; } }