作者 lyh

gx

... ... @@ -115,7 +115,7 @@ class ProductController extends BaseController
$str = $this->getAllSub($this->map['category_id'],$str);
$productArr = CategoryRelated::whereIn('cate_id',$str)->pluck('product_id')->toArray();
if($this->user['project_id'] == '475'){
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($productArr, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($str, true) . PHP_EOL, FILE_APPEND);
}
$query->whereIn('id',$productArr);
}
... ...