This commit is contained in:
root 2019-12-13 16:37:12 +08:00
parent 31f69782c1
commit 2fd9738575

View File

@ -26,7 +26,9 @@ class TicketController extends Controller
$ticket['message'][$i]['is_me'] = false;
}
}
$ticket['user'] = User::find($ticket->user_id);
$ticket['user'] = User::find($ticket->user_id)->select([
'email'
]);
return response([
'data' => $ticket
]);