#
zy
2025-07-14 c7f699711682ff7a99d4304f35d12d49e25235cc
src/main/java/com/zy/core/utils/FakeDeviceUtils.java
@@ -27,6 +27,15 @@
    @Autowired
    private RedisUtil redisUtil;
    public synchronized boolean applyShuttleConnect(Integer deviceNo) {
        Object object = redisUtil.get(RedisKeyType.FAKE_SHUTTLE_APPLY_CONNECT.key);
        if(object != null) {
            return false;
        }
        return redisUtil.set(RedisKeyType.FAKE_SHUTTLE_APPLY_CONNECT.key, deviceNo, 10);
    }
    public List<DeviceConfig> getFakeDeviceConfig() {
        List<DeviceConfig> list = new ArrayList<>();
        Object obj = redisUtil.get(RedisKeyType.FAKE_DEVICE_CONFIG.key);