add daily report 脚本
This commit is contained in:
parent
6c250158dd
commit
ff9fc57ae0
@ -4,8 +4,9 @@ from flask import render_template
|
||||
|
||||
|
||||
class Report:
|
||||
def __init__(self, gameid):
|
||||
def __init__(self, gameid, channelid):
|
||||
self.gameid = gameid
|
||||
self.channelid = channelid
|
||||
|
||||
|
||||
def run(self):
|
||||
@ -13,9 +14,10 @@ class Report:
|
||||
|
||||
|
||||
def main():
|
||||
channelid = 6001
|
||||
gameids = (1004, 2001)
|
||||
for gameid in gameids:
|
||||
cc = Report(gameid)
|
||||
cc = Report(gameid, channelid)
|
||||
cc.run()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user