lizhen_gitee 1 anno fa
parent
commit
92ab80c78f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      application/api/controller/Index.php

+ 1 - 0
application/api/controller/Index.php

@@ -71,6 +71,7 @@ class Index extends Api
         //搜课时表
         $where = [
             'slot.status' => 0,//报名中
+            'slot.starttime' => ['gt',time()],
         ];
 
         //模糊搜索