main
liutk 2024-06-29 21:29:27 +08:00
parent eca69c5940
commit 0aedb6c23f
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class ActivityGameController extends ApiController
$q->where('user_id', auth('api')->user()?->id ?? 0); $q->where('user_id', auth('api')->user()?->id ?? 0);
}]) }])
->where('activity_id', $activityId)->show()->sort() ->where('activity_id', $activityId)->show()->sort()
->simplePaginate(50); ->simplePaginate(100);
return $this->success(['games'=>ActivityGameResource::collection($games)->resolve()]); return $this->success(['games'=>ActivityGameResource::collection($games)->resolve()]);
} }