master
wangxinglong 2022-04-20 09:34:17 +08:00
parent 95432c96ef
commit 731e7437a1
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class Index extends Base
*/
public function dashboard()
{
$this->data["member_rule"] = array_filter(explode(",", session('auth.rules')));
$this->data["member_rule"] = array_filter(explode(",", session('auth')['rules']));
$this->data["admin_rule"] = Member::MANAGER_ROLE_ID;
return $this->view();
}