add twitch apis , bar api not ok
This commit is contained in:
@@ -78,8 +78,6 @@ func getOpayData(ch *model.TwitchChannel) {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println(oResp.LstDonate)
|
||||
|
||||
if len(oResp.LstDonate) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ import (
|
||||
)
|
||||
|
||||
func getStreamStatus() {
|
||||
fmt.Println("run twitch check")
|
||||
channels, err := model.GetAllTwitchChannel()
|
||||
if err != nil {
|
||||
return
|
||||
@@ -21,7 +20,6 @@ func getStreamStatus() {
|
||||
}
|
||||
|
||||
info := twitch.GetUserStreamStatus(ids)
|
||||
fmt.Printf("info len: %d\n", len(info))
|
||||
if len(info) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user