|
...
|
...
|
@@ -275,7 +275,7 @@ class ProductController extends BaseController |
|
|
|
|
|
|
|
ProjectServer::useProject($project_id);
|
|
|
|
|
|
|
|
$product = Product::whereFullText('title', $keyword)->inRandomOrder()->select(['title', 'intro', 'thumb'])->first();
|
|
|
|
$product = Product::whereFullText('title', $keyword)->inRandomOrder()->select(['title', 'intro', 'thumb', 'id'])->first();
|
|
|
|
|
|
|
|
if($product){
|
|
|
|
ProjectServer::useProject($project_id);
|
...
|
...
|
|