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

21 lines
515 B
PHP
Executable File

<?php
namespace app\service\api;
use think\Facade;
/**
* Api权限服务门面
* @package app\api\service
* @method static mixed setNoNeedLogin($noNeedLogin) 设置不需要登录的方法名数组
* @method static mixed getNoNeedLogin() 获取无需登录的方法名数组
* @method static mixed needLogin() 获取当前节点是否需要登录
*/
class AuthServiceFacade extends Facade
{
protected static function getFacadeClass()
{
return Auth::class;
}
}