AdminPermission.php 332 B

1234567891011121314151617
  1. <?php
  2. namespace App\Http\Middleware;
  3. use App\Contracts\PermissionMiddleware;
  4. class AdminPermission extends PermissionMiddleware
  5. {
  6. protected $urlWhitelist = [
  7. '/auth/login',
  8. '/auth/logout',
  9. '/user',
  10. '/user/edit',
  11. '/configs/vue-routers',
  12. '/configs/system_basic/values',
  13. ];
  14. }