Commit 18aff4b546d4f55da8bc8536d5be81e57897d61a

Authored by davidche
Committed by GitHub
1 parent 33d4107d

修复 #1058

src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
@@ -553,7 +553,11 @@ public class DeviceServiceImpl implements IDeviceService { @@ -553,7 +553,11 @@ public class DeviceServiceImpl implements IDeviceService {
553 if (device.getCharset() == null) { 553 if (device.getCharset() == null) {
554 deviceInStore.setCharset("GB2312"); 554 deviceInStore.setCharset("GB2312");
555 } 555 }
556 - 556 + //SSRC校验
  557 + deviceInStore.setSsrcCheck(device.isSsrcCheck());
  558 + //作为消息通道
  559 + deviceInStore.setAsMessageChannel(device.isAsMessageChannel());
  560 +
557 // 更新redis 561 // 更新redis
558 deviceMapper.updateCustom(deviceInStore); 562 deviceMapper.updateCustom(deviceInStore);
559 redisCatchStorage.removeDevice(deviceInStore.getDeviceId()); 563 redisCatchStorage.removeDevice(deviceInStore.getDeviceId());