feat(server/reward): TG getChatMember 真校验 + ClaimTelegram + POST /tg/webhook
This commit is contained in:
@@ -24,10 +24,11 @@ type Service struct {
|
||||
cfg Config
|
||||
now func() time.Time
|
||||
|
||||
rdb *redis.Client
|
||||
tg tgConfig
|
||||
memMu sync.Mutex
|
||||
memTok map[string]int64
|
||||
rdb *redis.Client
|
||||
tg tgConfig
|
||||
checker ChatMemberChecker
|
||||
memMu sync.Mutex
|
||||
memTok map[string]int64
|
||||
}
|
||||
|
||||
func NewService(db *sql.DB, st *Store, g Granter, cfg Config, now func() time.Time) *Service {
|
||||
|
||||
Reference in New Issue
Block a user