$userId = Auth::user()->id;
$info = User::where('id',$userId)->with(['favorites'])->get();
return view('users.favorite',compact('info'));
修改的评论也不能少于六个字哦!
0
分享