|
|
|
|
@ -61,10 +61,10 @@ class OtherController extends CommonController
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
// 追加其他领域
|
|
|
|
|
$industryTotal[] = [
|
|
|
|
|
'industry' => '其他',
|
|
|
|
|
'total' => User::count() - collect($industryTotal)->sum('total')
|
|
|
|
|
];
|
|
|
|
|
// $industryTotal[] = [
|
|
|
|
|
// 'industry' => '其他',
|
|
|
|
|
// 'total' => User::count() - collect($industryTotal)->sum('total')
|
|
|
|
|
// ];
|
|
|
|
|
// 课程统计
|
|
|
|
|
$courseTypes = CourseType::where('is_chart', 1)->get();
|
|
|
|
|
foreach ($courseTypes as $courseType) {
|
|
|
|
|
|