Auth::id() returns null laravel

前端 未结 0 410
余生分开走
余生分开走 2020-12-21 03:16

i have a function where

public function index(){
   $users = User::doesntHave(\'roles\')->latest()->paginate()->except(Auth::id());
   return UsersR         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题