mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-09-26 23:05:55 +08:00
fix: catalog after recover register
This commit is contained in:
@@ -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)
|
||||
|
@@ -327,6 +327,7 @@ func (task *registerHandlerTask) RecoverDevice(d *Device, req *sip.Request) {
|
||||
//}
|
||||
task.gb.DB.Save(d)
|
||||
}
|
||||
d.catalog()
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user