屏幕控制完成
This commit is contained in:
@@ -11,6 +11,9 @@ import (
|
||||
func OnlyVideo(c *leaf.Context) {
|
||||
payload := leaf.Value[*schema.PlayModal](c, middleware.PayloadJSONKey)
|
||||
|
||||
utils.BlankOpen()
|
||||
defer utils.BlankClose()
|
||||
|
||||
if url, ok := payload.Game["video"]; ok {
|
||||
_ = video.Play(c, utils.LinkVideo(url.(string)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user