Browse Source

vue_admin_action

Panda 3 months ago
parent
commit
73687910e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Hotel.php

+ 1 - 1
application/api/controller/Hotel.php

@@ -178,7 +178,7 @@ class Hotel extends Api
                 $query->where('start_date','>',date('Y-m-d'))->where('status',1);
                 break;
             case 2:
-                $query->where('start_date','<',date('Y-m-d'))->where('status',1);
+                $query->where('start_date','<=',date('Y-m-d'))->where('status',1);
                 break;
             case 3:
                 $query->where('status',0);