cxhxy/app/applet/controller/Passport.php
test_service d3170b4d1c 1
2023-12-01 15:43:29 +08:00

20 lines
370 B
PHP
Executable File

<?php
namespace app\applet\controller;
use think\facade\View;
use think\facade\Session;
/**
* 登录小程序管理中心
*/
class Passport extends Controller
{
/**
* 退出登录
*/
public function logout()
{
Session::delete('hema_applet');// 清空登录状态
return redirect('/user/applet/index');
}
}