6
0
Fork 0

补充提交

release
vine_liutk 2022-01-25 13:47:36 +08:00
parent 2234770f16
commit ada73cdd43
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class FansController extends Controller
{
$perPage = PaginatorHelper::resolvePerPage('per_page', 20, 50);
$fans = $request->user()->fans()
->with('userInfo')
->with(['userInfo', 'dealer'])
->latest('id')
->simplePaginate($perPage);
return DealerFansResource::collection($fans);