Commit 3cdede80f9edb33bd35485770a4d1d0a7190cdd4

Authored by 648540858
Committed by GitHub
2 parents 33d4107d 18aff4b5

Merge pull request #1059 from DavidSche/fix_#1058

修复 #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());