|
@@ -33,7 +33,7 @@ class RoleService
|
|
$query->where('role_status', $roleStatus);
|
|
$query->where('role_status', $roleStatus);
|
|
})
|
|
})
|
|
->orderBy('role_addtimes', 'DESC')
|
|
->orderBy('role_addtimes', 'DESC')
|
|
- ->forPage($page, $pageSize)
|
|
|
|
|
|
+// ->forPage($page, $pageSize)
|
|
->get()
|
|
->get()
|
|
->toArray();
|
|
->toArray();
|
|
$total = SysRole::when($keyword != '', function ($query) use ($keyword) {
|
|
$total = SysRole::when($keyword != '', function ($query) use ($keyword) {
|