tp框架 JS里面获取session

var var_name="{:session('xxxxx')}";

用大括号 这个方法可以获取session

原文地址:https://www.cnblogs.com/jinshuo/p/6669557.html