错误
<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>