add twitch apis , bar api not ok

This commit is contained in:
Jay
2018-09-18 00:35:48 +08:00
parent 67eeab4ba1
commit ce62048c18
7 changed files with 354 additions and 9 deletions
-2
View File
@@ -78,8 +78,6 @@ func getOpayData(ch *model.TwitchChannel) {
return
}
fmt.Println(oResp.LstDonate)
if len(oResp.LstDonate) == 0 {
return
}
-2
View File
@@ -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
}