添加导出率

This commit is contained in:
pengtao 2019-10-23 11:06:10 +08:00
parent edf7e388bb
commit 1b46402137

View File

@ -292,7 +292,10 @@ class Report:
temp = {}
temp['gameid'] = args['gameid']
temp['channelid'] = args['channelid']
temp['input'] = defaultdict(list)
temp['output'] = defaultdict(list)
temp['input'] = []
temp['output'] = []
g = GetTgaConfig()
item = g.get_api_key(args['gameid'])
url = item['url']
@ -308,10 +311,6 @@ class Report:
if not f_keys:
continue
for f_key in f_keys:
temp['input'] = defaultdict(list)
temp['output'] = defaultdict(list)
temp['input'] = []
temp['output'] = []
args['fromappid'] = f_key
args['fromappid_cn'] = fromappids.get(f_key, None) or "未知"
temp['input'].append(self.get_input_fromappid(**args))