添加导出率
This commit is contained in:
parent
68e9a19e20
commit
cc9dc2192f
@ -341,5 +341,5 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
#app.run(host='0.0.0.0', port=6700, debug=False)
|
||||
#main()
|
||||
app.run(host='0.0.0.0', port=6700, debug=False)
|
||||
|
@ -5,18 +5,18 @@
|
||||
<title>金蚕游戏日报,By ops</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{% for line in data %}
|
||||
|
||||
|
||||
<h2>
|
||||
<strong>
|
||||
<span style="font-size:18px;">游戏内容</span>
|
||||
</strong>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <span style="font-size:18px;">all:{{data}}</span> -->
|
||||
<span style="font-size:18px;">游戏ID:{{data['gameid']}}</span><br>
|
||||
<span style="font-size:18px;">渠道ID:{{data['channelid']}}</span><br>
|
||||
<span style="font-size:18px;">日期:{{data['day']}}</span><br>
|
||||
<span style="font-size:18px;">游戏ID:{{line['gameid']}}</span><br>
|
||||
<span style="font-size:18px;">渠道ID:{{line['channelid']}}</span><br>
|
||||
|
||||
</h2>
|
||||
<h3>
|
||||
<strong>
|
||||
@ -37,7 +37,7 @@
|
||||
</tr>
|
||||
|
||||
<tbody>
|
||||
{% for item in data.get('all') %}
|
||||
{% for item in line.get('all') %}
|
||||
<tr>
|
||||
<td>{{ item }}</td>
|
||||
{% endfor %}
|
||||
@ -50,21 +50,21 @@
|
||||
<h1>导入数据:</h1>>
|
||||
<tr>
|
||||
<!--('wxdb103a128e118619', '拯救熊猫泡泡', 2, 1, 0, 0.0)-->
|
||||
<td>渠道ID</td>
|
||||
<td>游戏名称</td>
|
||||
<td>活跃</td>
|
||||
<td>新增</td>
|
||||
<td>分享</td>
|
||||
<td>K值</td>
|
||||
<th>渠道ID</th>
|
||||
<th>游戏名称</th>
|
||||
<th>活跃</th>
|
||||
<th>新增</th>
|
||||
<th>分享</th>
|
||||
<th>K值</th>
|
||||
<br>
|
||||
</tr>
|
||||
|
||||
|
||||
{% for line in data.get('input') %}
|
||||
{% for one in line.get('input') %}
|
||||
|
||||
<tr>
|
||||
{%for item in line%}
|
||||
<th>{{ item }}</th>
|
||||
{% for item in one %}
|
||||
<td>{{ item }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<br>
|
||||
@ -72,18 +72,18 @@
|
||||
|
||||
<h1>导出数据:</h1>>
|
||||
<tr>
|
||||
<td>渠道ID</td>
|
||||
<td>跳转目标</td>
|
||||
<td>跳转次数</td>
|
||||
<td>跳转人数</td>
|
||||
<th>渠道ID</th>
|
||||
<th>跳转目标</th>
|
||||
<th>跳转次数</th>
|
||||
<th>跳转人数</th>
|
||||
<br>
|
||||
</tr>
|
||||
|
||||
{% for line in data.get('output') %}
|
||||
{% for one in data.get('output') %}
|
||||
|
||||
<tr>
|
||||
{% for item in line %}
|
||||
<th>{{ item }}</th>
|
||||
{% for item in one %}
|
||||
<td>{{ item }}</td>
|
||||
{% endfor %}
|
||||
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user