|
@@ -114,9 +114,6 @@ class ProductController extends BaseController |
|
@@ -114,9 +114,6 @@ class ProductController extends BaseController |
|
114
|
$str[] = $this->map['category_id'];
|
114
|
$str[] = $this->map['category_id'];
|
|
115
|
$str = $this->getAllSub($this->map['category_id'],$str);
|
115
|
$str = $this->getAllSub($this->map['category_id'],$str);
|
|
116
|
$productArr = CategoryRelated::whereIn('cate_id',$str)->pluck('product_id')->toArray();
|
116
|
$productArr = CategoryRelated::whereIn('cate_id',$str)->pluck('product_id')->toArray();
|
|
117
|
- if($this->user['project_id'] == '475'){
|
|
|
|
118
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export($str, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
119
|
- }
|
|
|
|
120
|
$query->whereIn('id',$productArr);
|
117
|
$query->whereIn('id',$productArr);
|
|
121
|
}
|
118
|
}
|
|
122
|
if(isset($this->map['title']) && !empty($this->map['title'])){
|
119
|
if(isset($this->map['title']) && !empty($this->map['title'])){
|