|
|
|
@ -607,9 +607,9 @@ class UserController extends CommonController
|
|
|
|
if (isset($all['course_content_id'])) {
|
|
|
|
if (isset($all['course_content_id'])) {
|
|
|
|
$query->where('course_content_id', $all['course_content_id']);
|
|
|
|
$query->where('course_content_id', $all['course_content_id']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})->where('user_id1', $user->id)
|
|
|
|
})->where('user_id', $user->id)
|
|
|
|
->orderBy('created_at', 'desc')
|
|
|
|
->orderBy('created_at', 'desc')
|
|
|
|
->get();
|
|
|
|
->dd();
|
|
|
|
if ($list->isNotEmpty()) {
|
|
|
|
if ($list->isNotEmpty()) {
|
|
|
|
return $this->success($list);
|
|
|
|
return $this->success($list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|