|
@@ -10,7 +10,7 @@ class Company extends Save
|
|
# 获取当前权限
|
|
# 获取当前权限
|
|
public function getAuth()
|
|
public function getAuth()
|
|
{
|
|
{
|
|
- $auth = Dever::load('manage/auth')->info();
|
|
|
|
|
|
+ $auth = Dever::load('manage/auth')->data();
|
|
if ($auth && $auth['company']) {
|
|
if ($auth && $auth['company']) {
|
|
|
|
|
|
return $auth['company'];
|
|
return $auth['company'];
|