This commit is contained in:
hantao 2025-07-29 18:50:04 +08:00
parent 17963150e5
commit 1a80335eba

View File

@ -176,7 +176,9 @@ class Api extends Backend
{ {
$id = request()->get('id'); $id = request()->get('id');
$build = Cars::where('is_active',1)->where('id',$id)->with([ $build = Cars::where('is_active',1)->where('id',$id)->with([
'brand','series' 'brand','series','contact'=>function($q) {
$q->field('id,username,mobile');
}
]); ]);