初步完成接收发卡报文
This commit is contained in:
@@ -13,7 +13,7 @@ func Default(c *leaf.Context) {
|
||||
if w, ok := payload.Game["wait"]; ok {
|
||||
select {
|
||||
case <-c.Done():
|
||||
case <-time.After(time.Duration(w.(int)) * time.Second):
|
||||
case <-time.After(time.Duration(w.(float64)) * time.Second):
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user