<script th:inline="javascript">
var openid = /*[[${session.wxuser.openId}]]*/
</script>


thymeleat html javascript中获取变量值