播放游戏时,停止待机任务
This commit is contained in:
@@ -6,10 +6,11 @@ type TTSTimer struct {
|
||||
}
|
||||
|
||||
type TTSModal struct {
|
||||
Start string `json:"start"`
|
||||
End string `json:"end"`
|
||||
Stop string `json:"stop"`
|
||||
Timer []TTSTimer `json:"timer"`
|
||||
Start string `json:"start"`
|
||||
End string `json:"end"`
|
||||
Stop string `json:"stop"`
|
||||
Timeout string `json:"timeout"`
|
||||
Timer []TTSTimer `json:"timer"`
|
||||
}
|
||||
|
||||
type PrintModal struct {
|
||||
|
||||
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user