qiushang hai 1 ano
pai
achega
a82c6fefdb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Home/HelpController.php

+ 1 - 1
app/Http/Home/HelpController.php

@@ -27,7 +27,7 @@ class HelpController extends HttpBaseController
             $productId = $row->product_id;
             unset($row->id);
 
-            $productInfo = DB::table('product')->select(['id', 'title', 'logo'])->where('product_id', $productId)->first();
+            $productInfo = DB::table('product')->select(['id', 'title', 'logo'])->where('id', $productId)->first();
 
             $data[] = [
                 'product' => $productInfo,