Ver código fonte

首页搜索

lizhen_gitee 1 ano atrás
pai
commit
92ab80c78f
1 arquivos alterados com 1 adições e 0 exclusões
  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()],
         ];
 
         //模糊搜索