api
This commit is contained in:
parent
17963150e5
commit
1a80335eba
|
|
@ -176,7 +176,9 @@ class Api extends Backend
|
|||
{
|
||||
$id = request()->get('id');
|
||||
$build = Cars::where('is_active',1)->where('id',$id)->with([
|
||||
'brand','series'
|
||||
'brand','series','contact'=>function($q) {
|
||||
$q->field('id,username,mobile');
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user