作者 李忠强

更新

... ... @@ -3,6 +3,7 @@
namespace app\admin\controller;
use app\admin\model\Admin;
use app\admin\model\litestore\Litestorecategory;
use app\admin\model\User;
use app\common\controller\Backend;
use app\common\model\Attachment;
... ... @@ -49,7 +50,7 @@ class Dashboard extends Backend
'totaluser' => User::count(),
'totaladdon' => count(get_addon_list()),
'totaladmin' => Admin::count(),
'totalcategory' => \app\common\model\Category::count(),
'totalcategory' => Litestorecategory::count(),
'todayusersignup' => User::whereTime('jointime', 'today')->count(),
'todayuserlogin' => User::whereTime('logintime', 'today')->count(),
'sevendau' => User::whereTime('jointime|logintime|prevtime', '-7 days')->count(),
... ...