更新
This commit is contained in:
16
app/model/auth/RolesAccess.php
Normal file
16
app/model/auth/RolesAccess.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
namespace app\model\auth;
|
||||
|
||||
class RolesAccess extends \think\model\Pivot{
|
||||
protected $name = "UserHasRoles";
|
||||
public static function getRoleByUid(){
|
||||
return [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user