新增新用户统计脚本
This commit is contained in:
parent
b673445c91
commit
01b46c2a3f
@ -33,9 +33,9 @@ def get_data(times, gameid, channelid):
|
|||||||
try:
|
try:
|
||||||
for line in out:
|
for line in out:
|
||||||
temp = {}
|
temp = {}
|
||||||
|
temp['gameid'] = gameid
|
||||||
|
temp['channelid'] = channelid
|
||||||
temp['usernum'], temp['ad_channel'] = line
|
temp['usernum'], temp['ad_channel'] = line
|
||||||
line['gameid'] = gameid
|
|
||||||
line['channelid'] = channelid
|
|
||||||
data.append(temp)
|
data.append(temp)
|
||||||
except Exception:
|
except Exception:
|
||||||
log.error(f"split {line} error!")
|
log.error(f"split {line} error!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user