liumiao
2021-01-29 bae3ba2a1e5473ea36ca3d413309d72097b71513
根据学员获取课次
1 files modified
2 ■■■ changed files
app/Http/Controllers/Api/v1/ClassScheduleController.php 2 ●●● patch | view | raw | blame | history
app/Http/Controllers/Api/v1/ClassScheduleController.php
@@ -359,7 +359,7 @@
        $where = " and ct.startTime between '{$dateInfo[0]}' and  '{$dateInfo[1]}'";
        if(is_numeric($courseTableId) && $courseTableId > 0 && !empty($contentTime))
        {
            $where .= " and ct.id = {$courseTableId} and ctt.contentTime  = {$contentTime} ";
            $where .= " and ct.id = {$courseTableId} and ctt.contentTime  = '{$contentTime}' ";
        }
        switch ($roleId)
        {