数据库内已有数据

{#使用Jinja2模板来快速遍历传入的列表数据#} {% for value in data %} {% endfor %}
名称 次数
{{ value['name'] }} {{ value['times'] }}