Dashboard.php

This commit is contained in:
hant 2025-02-26 16:03:09 +08:00
parent e52f9ef1b4
commit 6aeb0cdf01

View File

@ -57,7 +57,7 @@ class Dashboard extends Backend
'totaluser' => User::count(),
'totaladdon' => $totaladdon,
'totaladmin' => Admin::count(),
'totalcategory' => \app\common\model\Category::count(),
// 'totalcategory' => \app\common\model\Category::count(),
'todayusersignup' => User::whereTime('jointime', 'today')->count(),
'todayuserlogin' => User::whereTime('logintime', 'today')->count(),
'sevendau' => User::whereTime('jointime|logintime|prevtime', '-7 days')->count(),