fix: 批量购买bug修复

This commit is contained in:
2025-06-07 14:43:53 +08:00
parent 3a8df97d6c
commit 3a29ed37e1
3 changed files with 3 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ class ContactUs extends Common
'last_name' => $form_data['last_name'],
'email' => $form_data['email'],
'phone' => $form_data['phone'],
'interested' => $form_data['interested'],
'interested' => is_array($form_data['interested']) ? implode(',', $form_data['interested']) : $form_data['interested'],
'referer_url' => request()->header('referer'),
'website_url' => request()->header('host'),
'message' => $form_data['message'],