thinkphp5.1 的else if的使用方法 首先thinkphp5.1获取session值是 {$think.session.user_id}或者{$Request.session.user_id}来获取session 下面是if else 的用法 跟不用框架有些许的不一样