兑换
/c:if
这里逻辑判断错误,${totalCoins lt goods.eb_count}的结果为true但是totalCoins 是大于goods.eb_count的.
但是如果把totalCoins 或者 goods.eb_count任何一个修改成数字则可以判断成功.另外 判断是写在中,totalCoins在外.
${totalCoins}
兑换
totalCoins:${totalCoins}
eb_count:${goods.eb_count }
/c:if
兑换
/c:if
/c:forEach