Commit 3cdede80f9edb33bd35485770a4d1d0a7190cdd4
Committed by
GitHub
Merge pull request #1059 from DavidSche/fix_#1058
修复 #1058 错误
Showing
1 changed file
with
5 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
| ... | ... | @@ -553,7 +553,11 @@ public class DeviceServiceImpl implements IDeviceService { |
| 553 | 553 | if (device.getCharset() == null) { |
| 554 | 554 | deviceInStore.setCharset("GB2312"); |
| 555 | 555 | } |
| 556 | - | |
| 556 | + //SSRC校验 | |
| 557 | + deviceInStore.setSsrcCheck(device.isSsrcCheck()); | |
| 558 | + //作为消息通道 | |
| 559 | + deviceInStore.setAsMessageChannel(device.isAsMessageChannel()); | |
| 560 | + | |
| 557 | 561 | // 更新redis |
| 558 | 562 | deviceMapper.updateCustom(deviceInStore); |
| 559 | 563 | redisCatchStorage.removeDevice(deviceInStore.getDeviceId()); | ... | ... |