Pārlūkot izejas kodu

lesson_slot表的is_show已经不作为上下架使用

lizhen_gitee 3 mēneši atpakaļ
vecāks
revīzija
048ebbb921
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      application/api/controller/coach/Lesson.php

+ 1 - 1
application/api/controller/coach/Lesson.php

@@ -36,7 +36,7 @@ class Lesson extends Apic
         $date = input('date',date('Y-m-d'),'strtotime');
         $date = input('date',date('Y-m-d'),'strtotime');
         $where = [
         $where = [
             'slot.starttime' => ['BETWEEN',[$date,$date+86399]],
             'slot.starttime' => ['BETWEEN',[$date,$date+86399]],
-            'slot.is_show' => 1,
+//            'slot.is_show' => 1,
         ];
         ];
 
 
         //课时
         //课时