Merge branch 'cedar2025:dev' into dev

This commit is contained in:
大大白
2024-10-16 19:37:04 -04:00
committed by GitHub
5 changed files with 9 additions and 7 deletions
@@ -13,7 +13,7 @@ class StatController extends Controller
{
public function getTrafficLog(Request $request)
{
$startDate = now()->startOfMonth();
$startDate = now()->startOfMonth()->timestamp;
$records = StatUser::query()
->where('user_id', $request->user['id'])
->where('record_at', '>=', $startDate)