fix set password

pull/1057/head
chenzhangyue 2023-09-06 09:49:50 +08:00
parent 7155680793
commit 1d0c9c6a31
1 changed files with 4 additions and 0 deletions

View File

@ -511,6 +511,10 @@ public class DeviceServiceImpl implements IDeviceService {
if (!ObjectUtils.isEmpty(device.getSdpIp())) {
deviceInStore.setSdpIp(device.getSdpIp());
}
if (!ObjectUtils.isEmpty(device.getPassword())) {
deviceInStore.setPassword(device.getPassword());
}
// 目录订阅相关的信息
if (device.getSubscribeCycleForCatalog() > 0) {