|
@@ -10,7 +10,6 @@ import (
|
|
|
"github.com/mhaya/game/game_cluster/internal/data"
|
|
|
"github.com/mhaya/game/game_cluster/internal/mdb"
|
|
|
"github.com/mhaya/game/game_cluster/internal/param"
|
|
|
- "github.com/mhaya/game/game_cluster/internal/third"
|
|
|
"github.com/mhaya/game/game_cluster/internal/token"
|
|
|
"time"
|
|
|
|
|
@@ -224,11 +223,11 @@ func (p *Player) CheckTaskByType1(openid int64, id int) bool {
|
|
|
case 1: //关注关注推特
|
|
|
return true
|
|
|
case 2: //加入TG频道
|
|
|
- if third.GetIfChannel(openid) == 1 {
|
|
|
- return true
|
|
|
- } else {
|
|
|
- return false
|
|
|
- }
|
|
|
+ //if third.GetIfChannel(openid) == 1 {
|
|
|
+ // return true
|
|
|
+ //} else {
|
|
|
+ // return false
|
|
|
+ //}
|
|
|
return true
|
|
|
|
|
|
case 3: //关注Yutube账号
|