Admin.php 335 B

12345678910111213
  1. <?php namespace Manage\Api;
  2. use Dever;
  3. use Manage\Lib\Auth;
  4. class Admin extends Auth
  5. {
  6. public function info()
  7. {
  8. $this->user['username'] = '1';
  9. $this->user['roles'] = ["Admin"];
  10. $this->user['permissions'] = ["read:system", "write:system", "delete:system"];
  11. return $this->user;
  12. }
  13. }