修改fromappid 获得逻辑
This commit is contained in:
parent
24888296a7
commit
7935c061a4
@ -433,18 +433,17 @@ class Report:
|
|||||||
|
|
||||||
mp = MpInterface()
|
mp = MpInterface()
|
||||||
fromappids = mp.get_fromappid_cn(args['gameid'], args['channelid'])
|
fromappids = mp.get_fromappid_cn(args['gameid'], args['channelid'])
|
||||||
f_keys = fromappids.keys()
|
if fromappids and ss_input_fromappids:
|
||||||
if f_keys and ss_input_fromappids:
|
|
||||||
for item in ss_input_fromappids:
|
for item in ss_input_fromappids:
|
||||||
args['fromappid'] = item
|
args['fromappid'] = item
|
||||||
args['fromappid_cn'] = f_keys.get(item, None) or "未知"
|
args['fromappid_cn'] = fromappids.get(item, None) or "未知"
|
||||||
temp['input'].append(self.get_input_fromappid(**args))
|
temp['input'].append(self.get_input_fromappid(**args))
|
||||||
data.append(temp)
|
data.append(temp)
|
||||||
|
|
||||||
if f_keys and ss_output_fromappids:
|
if fromappids and ss_output_fromappids:
|
||||||
for item in ss_output_fromappids:
|
for item in ss_output_fromappids:
|
||||||
args['fromappid'] = item
|
args['fromappid'] = item
|
||||||
args['fromappid_cn'] = f_keys.get(item, None) or "未知"
|
args['fromappid_cn'] = fromappids.get(item, None) or "未知"
|
||||||
temp['output'].append(self.get_input_fromappid(**args))
|
temp['output'].append(self.get_input_fromappid(**args))
|
||||||
data.append(temp)
|
data.append(temp)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user