master
cody 4 weeks ago
parent 57c3f3a3de
commit 383178f52e

@ -134,7 +134,7 @@ class OtherController extends CommonController
// ->where('start_date', '<=', $end_date)
// ->where('start_date', '>=', $start_date)
->get();
dump($courses->toArray());
dump($courses->pluck('id')->toArray());
// 被投企业数
$list['course_signs_invested'] = CourseSign::yhInvested($start_date, $end_date);
// 报名人数
@ -161,7 +161,7 @@ class OtherController extends CommonController
// ->where('start_date', '<=', $end_date)
// ->where('start_date', '>=', $start_date)
->get();
dump($courses2->toArray());
dump($courses2->pluck('id')->toArray());
foreach ($courses2 as $course) {
$courseTypesSum[] = [
'course_type' => $courseType->name,

Loading…
Cancel
Save