fix: catalog after recover register

This commit is contained in:
pggiroro
2025-09-23 11:01:37 +08:00
parent 4f75725a0e
commit e7a6f0bba5
2 changed files with 2 additions and 1 deletions

View File

@@ -2897,7 +2897,7 @@ func (gb *GB28181Plugin) UpdateChannel(ctx context.Context, req *pb.UpdateChanne
}
// 记录日志
gb.Info("通道信息已更新",
gb.Debug("通道信息已更新",
"通道ID", req.Id,
"自定义通道ID", channel.DeviceChannel.CustomChannelId,
"自定义名称", channel.DeviceChannel.CustomName)

View File

@@ -327,6 +327,7 @@ func (task *registerHandlerTask) RecoverDevice(d *Device, req *sip.Request) {
//}
task.gb.DB.Save(d)
}
d.catalog()
return
}