database
This commit is contained in:
parent
4d801a57ed
commit
87bea58549
|
|
@ -341,7 +341,7 @@ class Course extends Model
|
|||
$detailsId = [];
|
||||
if (!$freeWatch) {
|
||||
$det_db = Db::connect(DatabaseRoute::getConnection('course_user', ['user_id' => $user['user_id']]));
|
||||
$detailsId = $det_db->name('course_user')->where(['course_id' => $courseId, 'classify' => 2])->column('course_details_id');
|
||||
$detailsId = $det_db->name('course_user')->where(['course_id' => $courseId, 'classify' => 2, 'user_id' => $user['user_id']])->column('course_details_id');
|
||||
if($get['courseId'] == '1877654905222135809') {
|
||||
Log::info('已购买剧集ID集合-----------' . json_encode($detailsId));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue