|
@@ -204,7 +204,7 @@ class ProductController extends BaseController
|
|
|
if (!empty($status)) {
|
|
if (!empty($status)) {
|
|
|
$where['status'] = $status;
|
|
$where['status'] = $status;
|
|
|
}
|
|
}
|
|
|
- if ($book == 1) {
|
|
|
|
|
|
|
+ if ($requestType == 'book') {
|
|
|
unset($where['status']);
|
|
unset($where['status']);
|
|
|
}
|
|
}
|
|
|
$where['delStatus'] = $delStatus;
|
|
$where['delStatus'] = $delStatus;
|