feat: 为通知接口添加CRUD

This commit is contained in:
2024-08-27 14:23:19 +08:00
parent ae9fd0d5b0
commit c8b33a27f6
3 changed files with 16 additions and 2 deletions

View File

@ -71,7 +71,7 @@ func GetSessionByXaddr(c *gin.Context) {
response.NewResponse().WithData(info).Send(c)
}
func DeleteSession(c *gin.Context) {
func DeleteSessionByXaddr(c *gin.Context) {
xaddr := c.Param("xaddr")
delete(onvif.Sessions, xaddr)