錯誤
<c:if test="${wechatId}== 0"><script>
alert("請先配置一個訂閱號!");
window.location.href = "index#media/wxManager"; </script> </c:if>
正確
<c:if test="${wechatId == 0}">
<script>alert("請先配置一個訂閱號!");
window.location.href = "index#media/wxManager";
</script>
</c:if>