<div class="iteye-blog-content-contain" style="font-size: 14px">
<c:if test=”${user.visitCount==1}”>
This is your first visit .
</c:if>
//一定要用user.xx 否则会报异常
<c:choose>
<c:when test="${row.v_money<10000}">
初学下海
</c:when>
<c:when test="${row.v_money>=10000&&row.v_money<20000}">
身手小试
</c:when>
<c:otherwise>
商业能手
</c:otherwise>
</c:choose>
</div>
<c:if test=”${user.visitCount==1}”>
This is your first visit .
</c:if>
//一定要用user.xx 否则会报异常
<c:choose>
<c:when test="${row.v_money<10000}">
初学下海
</c:when>
<c:when test="${row.v_money>=10000&&row.v_money<20000}">
身手小试
</c:when>
<c:otherwise>
商业能手
</c:otherwise>
</c:choose>
</div>
本文介绍了一个基于用户虚拟货币数量来划分用户访问等级的方法。当用户的虚拟货币少于10000时,用户处于‘初学下海’级别;当用户的虚拟货币在10000到20000之间时,用户属于‘身手小试’级别;当用户的虚拟货币超过20000时,则被划分为‘商业能手’级别。
740

被折叠的 条评论
为什么被折叠?



