Explorar o código

取消的课程,教练不显示

lizhen_gitee hai 1 mes
pai
achega
efb890bb18
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      application/api/controller/coach/Lesson.php

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

@@ -37,6 +37,7 @@ class Lesson extends Apic
         $where = [
             'slot.starttime' => ['BETWEEN',[$date,$date+86399]],
 //            'slot.is_show' => 1,
+            'slot.status' => [10,20], //状态:0=报名中,20=已点名,30=已取消
         ];
 
         //课时