refactor: 修改用户分页接口
This commit is contained in:
@@ -123,7 +123,7 @@ class User
|
|||||||
})
|
})
|
||||||
->column([
|
->column([
|
||||||
'ip',
|
'ip',
|
||||||
'max(created_at)' => 'created_at'
|
'created_at'
|
||||||
], 'user_id');
|
], 'user_id');
|
||||||
if (!empty($logs)) {
|
if (!empty($logs)) {
|
||||||
$users->each(function($item) use($logs) {
|
$users->each(function($item) use($logs) {
|
||||||
|
|||||||
Reference in New Issue
Block a user