<?php // +---------------------------------------------------------------------+ // | OneBase | [ WE CAN DO IT JUST THINK ] | // +---------------------------------------------------------------------+ // | Licensed | http://www.apache.org/licenses/LICENSE-2.0 ) | // +---------------------------------------------------------------------+ // | Author | Bigotry <3162875@qq.com> | // +---------------------------------------------------------------------+ // | Repository | https://gitee.com/Bigotry/OneBase | // +---------------------------------------------------------------------+ /** * 应用公共(函数)文件 */ use think\Db; use think\Response; use think\exception\HttpResponseException; // +---------------------------------------------------------------------+ // | 系统相关函数 // +---------------------------------------------------------------------+ /** * 清除登录 session */ function clear_login_session() { session('user_info', null); }