Commit a7731383 authored by gxx's avatar gxx

123

parent 9076419b
......@@ -52,7 +52,8 @@ class StatisticsController extends Controller
$schedules = $this->mSchedule->getCount();
// 获取所有的团队
$groups = $this->mGroup->getAll()->count();
// $groups = $this->mGroup->getAll()->count();
$groups = count(Group::all());
return view('admin/index',compact('newUserCount','newProject','users','projects','tasks','schedules','groups'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment