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