代码功能更新

This commit is contained in:
root
2025-05-18 07:29:01 +00:00
commit 12b03531c5
2083 changed files with 695218 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace app\service\admin;
use think\Facade;
/**
* 后台权限服务门面
* @package app\service\admin
* @method static mixed setNoNeedLogin($noNeedLogin) 设置不需要登录的方法名数组
* @method static mixed setNoNeedAuth($noNeedAuth) 设置不需要鉴权的方法名数组
* @method static mixed needLogin() 当前节点是否需要登录
* @method static mixed needAuth() 当前节点是否需要鉴权
* @method static mixed getAuthList($userId) 获取某后台管理员拥有的权限列表
* @method static mixed hasAuth($userId, $node) 某用户是否拥有某个节点的权限
*/
class AuthServiceFacade extends Facade
{
protected static function getFacadeClass()
{
return Auth::class;
}
}