update: user get traffic log

This commit is contained in:
tokumeikoi 2022-03-29 20:45:54 +08:00
parent 9d45b71731
commit d4183d2c7f

View File

@ -12,8 +12,8 @@ class StatController extends Controller
public function getTrafficLog(Request $request)
{
$builder = StatUser::select([
DB::raw('sum(u) as u'),
DB::raw('sum(d) as d'),
'u',
'd',
'record_at',
'user_id',
'server_rate'