소스 검색

vue_admin_action

Panda 3 달 전
부모
커밋
80b31e5827
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/api/controller/Hotel.php

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

@@ -219,7 +219,7 @@ class Hotel extends Api
 
         $info = $query->find();
         if ($info['status'] == 1){
-            if ($info['start_date'] < date('Y-m-d')){
+            if ($info['start_date'] > date('Y-m-d')){
                 $info['status_code'] = 1;
                 $info['status_txt'] = '待入住';
             }else{