改进 工单 倒序排序
This commit is contained in:
parent
4ee21a2c1c
commit
1411e55140
@ -12,7 +12,7 @@ class WorkOrderController extends Controller
|
||||
{
|
||||
public function index(WorkOrder $workOrder): JsonResponse
|
||||
{
|
||||
$workOrder = $workOrder->thisUser()->with(['user', 'module', 'host'])->simplePaginate(100);
|
||||
$workOrder = $workOrder->thisUser()->with(['user', 'module', 'host'])->latest()->simplePaginate(100);
|
||||
|
||||
return $this->success($workOrder);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user