|
|
@@ -130,13 +130,6 @@ class ProductController extends BaseController
|
|
|
if (!empty($status)) {
|
|
|
$where['status'] = $status;
|
|
|
}
|
|
|
- if (getenv('YII_ENV') == 'production') {
|
|
|
- //丽子鲜花 翔安店 显示有库存的花材(有可能没上架)(他要开自己能看,客户看不到的商品)
|
|
|
- if ($this->mainId == 1496) {
|
|
|
- unset($where['status']);
|
|
|
- }
|
|
|
- $where['stock>'] = 0;
|
|
|
- }
|
|
|
$where['delStatus'] = $delStatus;
|
|
|
|
|
|
//客户等级
|