|
@@ -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['state'] = 1;
|
|
|
$where['state_1'] = 1;
|
|
|
$data = Dever::db($table)->$method($where);
|