改进 每页只显示 20 条回复
This commit is contained in:
parent
bdabf21755
commit
55a939d720
@ -18,7 +18,7 @@ class ReplyController extends Controller
|
||||
*/
|
||||
public function index(WorkOrder $workOrder)
|
||||
{
|
||||
$replies = Reply::workOrderId($workOrder->id)->with(['module', 'user'])->latest()->simplePaginate(100);
|
||||
$replies = Reply::workOrderId($workOrder->id)->with(['module', 'user'])->simplePaginate(10);
|
||||
|
||||
return $this->success($replies);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user