添加设备离线原因

This commit is contained in:
648540858
2023-03-08 16:57:07 +08:00
parent b16923d175
commit ec90519c90
7 changed files with 9 additions and 15 deletions

View File

@@ -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);
}