|
@@ -3,7 +3,7 @@ use Dever;
|
|
|
class Auth
|
|
|
{
|
|
|
protected $login = true;
|
|
|
- protected $uid;
|
|
|
+ public $uid;
|
|
|
protected $user;
|
|
|
protected $system;
|
|
|
protected $info;
|
|
@@ -83,7 +83,7 @@ class Auth
|
|
|
$data['menu_id'] = $this->menu['id'];
|
|
|
$data['key'] = $key;
|
|
|
$key = $key . $data['menu_id'];
|
|
|
- if (isset($this->func[$key])) {
|
|
|
+ if (isset($this->func[$key]['id'])) {
|
|
|
return $this->func[$key]['id'];
|
|
|
}
|
|
|
$this->func[$key] = Dever::db('menu_func', 'manage')->find($data);
|