feat(onvif): 添加通知存储

This commit is contained in:
2024-08-26 15:21:47 +08:00
parent ff5cc66a55
commit 0ef8af021f
4 changed files with 22 additions and 4 deletions

View File

@ -1 +1,11 @@
package onvif
import (
"github.com/gin-gonic/gin"
"onvif-agent/response"
"onvif-agent/service/onvif"
)
func GetNotifications(c *gin.Context) {
response.NewResponse().WithData(onvif.Notifications).Send(c)
}