mirror of
https://github.com/statbate/special-pancake.git
synced 2026-08-11 03:12:42 +00:00
update test2
This commit is contained in:
parent
073386a6e0
commit
d049858f44
2 changed files with 68 additions and 8 deletions
|
|
@ -87,17 +87,19 @@ func statRoom(room, room_uid, authToken string) {
|
|||
|
||||
timeout = time.Now().Unix() + 60*60
|
||||
|
||||
tips := []struct {
|
||||
Data string `json:"data"`
|
||||
}{}
|
||||
|
||||
if err := json.Unmarshal([]byte(m), &tips); err != nil {
|
||||
fmt.Println(err.Error())
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
if input.Channel == "room:tip_alert:"+room_uid {
|
||||
|
||||
tips := []struct {
|
||||
Data string `json:"data"`
|
||||
}{}
|
||||
|
||||
if err := json.Unmarshal([]byte(m), &tips); err != nil {
|
||||
fmt.Println(err.Error())
|
||||
continue
|
||||
}
|
||||
|
||||
donate := struct {
|
||||
Name string `json:"to_username"`
|
||||
From string `json:"from_username"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue