rabin 1 year ago
parent
commit
6db3ab9f56
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api/Admin.php

+ 1 - 0
api/Admin.php

@@ -9,6 +9,7 @@ class Admin extends Auth
         $this->user['module']['id'] = $this->user['select']['module_id'];
         $this->user['module']['name'] = '当前模块';
         $this->user['module']['list'] = $this->module();
+        $this->user['module']['login'] = 'login';
         $this->user['module']['uri'] = array('system' => $this->system['key'], 'number' => $this->system_info['number']);
         return $this->user;
     }