新增新用户统计脚本

This commit is contained in:
pengtao 2019-09-04 17:43:34 +08:00
parent b673445c91
commit 01b46c2a3f

View File

@ -33,9 +33,9 @@ def get_data(times, gameid, channelid):
try:
for line in out:
temp = {}
temp['gameid'] = gameid
temp['channelid'] = channelid
temp['usernum'], temp['ad_channel'] = line
line['gameid'] = gameid
line['channelid'] = channelid
data.append(temp)
except Exception:
log.error(f"split {line} error!")