| xqd
@@ -205,6 +205,7 @@ class ProductController extends Controller
|
|
|
$data = Product::query()
|
|
|
->with('user:id,name,nickname,avatar,company_name,company_url,production_project')
|
|
|
->where('status',1)
|
|
|
+ ->where('id',$request->get('id'))
|
|
|
->select("id","name","user_id","content","image","type","url")->first();
|
|
|
if(!$data){
|
|
|
return $this->error("数据不存在!");
|