|
|
|
|
@ -74,7 +74,7 @@ class CourseSignController extends BaseController
|
|
|
|
|
public function index()
|
|
|
|
|
{
|
|
|
|
|
$all = request()->all();
|
|
|
|
|
$list = $this->model->with(['course', 'thirdAppointmentLogs', 'user' => function ($query) {
|
|
|
|
|
$list = $this->model->with(['course.typeDetail', 'thirdAppointmentLogs', 'user' => function ($query) {
|
|
|
|
|
$query->with(['courseSigns' => function ($q) {
|
|
|
|
|
$q->where('status', 1)->with('course');
|
|
|
|
|
}]);
|
|
|
|
|
|