品牌搜索
This commit is contained in:
@@ -35,9 +35,7 @@ class VehicleNewService extends BaseService
|
||||
'default' => function ($params) {
|
||||
$keyword = $params['keyword'] ?? '';
|
||||
return [
|
||||
'filters' => [
|
||||
// ['field' => '***', 'operator' => '=', 'value' => '***']
|
||||
],
|
||||
'filters' => $params['filters'],
|
||||
'fields' => ['id', 'vin', 'brand', 'cover', 'price', 'type', 'energy', 'model', 'video', 'views', 'created_at', 'updated_at'],
|
||||
'relations' => [
|
||||
'translation' => ['vehicle_id', 'locale', 'name', 'condition_desc', 'location'],
|
||||
|
||||
Reference in New Issue
Block a user