mirror of
https://github.com/Monibuca/plugin-record.git
synced 2025-10-07 01:33:14 +08:00
1.自动删除最旧的录像文件的功能
2.增加字段用于区分record对象是自动的普通录像还是事件录像 3.修复自动录像时,订阅却订阅失败时会生成小文件的问题
This commit is contained in:
@@ -18,7 +18,7 @@ func SendToThirdPartyAPI(exception *Exception) {
|
||||
fmt.Println("Error marshalling exception:", err)
|
||||
return
|
||||
}
|
||||
err = mysqldb.Create(&exception).Error
|
||||
err = db.Create(&exception).Error
|
||||
if err != nil {
|
||||
fmt.Println("异常数据插入数据库失败:", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user