播放游戏时,停止待机任务

This commit is contained in:
2025-02-26 19:45:47 +08:00
parent 8b080a8081
commit 593d7758bf
19 changed files with 422 additions and 275 deletions

View File

@@ -10,13 +10,8 @@ const (
WaitWeb
)
type TimeModel struct {
Start int64 `json:"start"`
End int64 `json:"end"`
}
type WaitItemModel struct {
TimeModel
Cron string `json:"cron"`
Type WaitType `json:"type"`
Data string `json:"data"`
Interval int64 `json:"interval"`
@@ -24,6 +19,6 @@ type WaitItemModel struct {
type WaitModel struct {
JsonModel
TimeModel
Cron string `json:"cron"`
Items []WaitItemModel `json:"items"`
}