dever 3 years ago
parent
commit
d933e237ee
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/shop/lib/Info.php

+ 2 - 2
app/shop/lib/Info.php

@@ -66,6 +66,7 @@ class Info
         if ($column) {
             $where['column'] = $column;
             $method = 'getData';
+            $where['status'] = 1;
         } else {
             $method = 'getDataPage';
         }
@@ -83,7 +84,6 @@ class Info
             $where['sell_type'] = $sell_type;
         }
 
-        $where['status'] = 1;
         $where['state'] = 1;
         
         $data = Dever::db($table)->$method($where);
@@ -123,7 +123,7 @@ class Info
         if ($total) {
             $where['total'] = $total;
         }
-        $where['status'] = 1;
+        //$where['status'] = 1;
         $where['state'] = 1;
         $where['state_1'] = 1;
         $data = Dever::db($table)->$method($where);