mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 15:39:10 +08:00
update: optimization stat user
This commit is contained in:
parent
af2f6a31da
commit
983b752f20
@ -20,7 +20,6 @@ class StatController extends Controller
|
||||
])
|
||||
->where('user_id', $request->session()->get('id'))
|
||||
->where('record_at', '>=', strtotime(date('Y-m-1')))
|
||||
->groupBy('record_at', 'user_id', 'server_rate')
|
||||
->orderBy('record_at', 'DESC');
|
||||
return response([
|
||||
'data' => $builder->get()
|
||||
|
Loading…
Reference in New Issue
Block a user