Files
premium/app/service/admin/UserServiceFacade.php
T
2025-05-18 07:42:27 +00:00

26 lines
682 B
PHP
Executable File

<?php
namespace app\service\admin;
use think\Facade;
/**
* 后台用户服务门面
* @package app\service\admin
* @method static mixed init($token) 初始化
* @method static mixed getError() 获取错误信息
* @method static mixed logout() 退出登录
* @method static mixed getUserInfo() 获取登录用户信息
* @method static mixed getAllowFields() 获取允许展示的字段
* @method static mixed getUser() 获取User模型
* @method static mixed isLogin() 获取登录状态
* @method static mixed getToken() 获取token
*/
class UserServiceFacade extends Facade
{
protected static function getFacadeClass()
{
return User::class;
}
}