freemarker

1.获取索引值

<#list toplist as toplists>
${toplists_index}
</#list>

原文地址:https://www.cnblogs.com/solitary-boy/p/8778849.html