add daily report 脚本

This commit is contained in:
pengtao 2019-10-21 14:25:09 +08:00
parent 6c250158dd
commit ff9fc57ae0

View File

@ -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()