添加设备离线原因
This commit is contained in:
@@ -61,7 +61,7 @@ public class SipRunner implements CommandLineRunner {
|
||||
|
||||
for (Device device : deviceList) {
|
||||
if (deviceService.expire(device)){
|
||||
deviceService.offline(device.getDeviceId());
|
||||
deviceService.offline(device.getDeviceId(), "注册已过期");
|
||||
}else {
|
||||
deviceService.online(device);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user