完成待机基本功能

This commit is contained in:
2024-11-06 16:01:03 +08:00
parent ab0678aa3b
commit 239d542edc
2 changed files with 10 additions and 10 deletions

View File

@@ -5,25 +5,25 @@ type WaitType int
const (
WaitAudio WaitType = iota
WaitVideo
WaitWeb
WaitTTS
WaitRelay
WaitWeb
)
type TimeModel struct {
Start int64
End int64
Start int64 `json:"start"`
End int64 `json:"end"`
}
type WaitItemModel struct {
TimeModel
Type WaitType
Data string
Interval int64
Type WaitType `json:"type"`
Data string `json:"data"`
Interval int64 `json:"interval"`
}
type WaitModel struct {
JsonModel
TimeModel
Items []WaitItemModel
Items []WaitItemModel `json:"items"`
}