This commit is contained in:
chenbo 2024-02-22 09:33:53 +08:00
parent 0705b6a36e
commit 6a87209f9c
1 changed files with 1 additions and 1 deletions

View File

@ -134,6 +134,6 @@ class UserController extends BaseAdminController
$pageNo = $this->request->get('page_no',1); $pageNo = $this->request->get('page_no',1);
$pageSize = $this->request->get('page_size', 25); $pageSize = $this->request->get('page_size', 25);
$list = VillagerInformation::page($pageNo,$pageSize)->select()->toArray(); $list = VillagerInformation::page($pageNo,$pageSize)->select()->toArray();
return $this->success('成功', $list); return $this->success('成功', compact('list'));
} }
} }