调整日报规则 添加一些gameid

This commit is contained in:
pengtao 2019-12-11 15:02:30 +08:00
parent 9d857e2c1c
commit 822ad529d7

View File

@ -476,7 +476,6 @@ class Report:
args['tga'] = tga args['tga'] = tga
temp['all'] = self.get_all_data(**args) temp['all'] = self.get_all_data(**args)
pdb.set_trace()
if temp['all']: if temp['all']:
ss_input_fromappids = self.get_ss_input_fromappid(args) ss_input_fromappids = self.get_ss_input_fromappid(args)
ss_output_fromappids = self.get_ss_output_fromappid(args) ss_output_fromappids = self.get_ss_output_fromappid(args)
@ -498,7 +497,11 @@ class Report:
args['fromappid'] = item args['fromappid'] = item
args['fromappid_cn'] = fromappids.get(item.split('_success')[0], None) or item args['fromappid_cn'] = fromappids.get(item.split('_success')[0], None) or item
temp['output'].append(self.get_output_fromappid(**args)) temp['output'].append(self.get_output_fromappid(**args))
data.append(temp) try:
if temp['all'][0] > 10:
data.append(temp)
except Exception:
log.error(f"get active user failed,{temp['all']}", exc_info=True)
return data return data