From c76c22df7a576a42a5f62ebf0e33f57e2ff8b9a8 Mon Sep 17 00:00:00 2001
From: jsasg <735273025@qq.com>
Date: Sat, 7 Jun 2025 14:43:53 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=B9=E9=87=8F=E8=B4=AD=E4=B9=B0bug?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/index/controller/ContactUs.php | 2 +-
app/index/view/mobile/contact_us/bulkbuy.html | 2 +-
app/index/view/pc/contact_us/bulkbuy.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/index/controller/ContactUs.php b/app/index/controller/ContactUs.php
index d61da2b1..c214a79d 100644
--- a/app/index/controller/ContactUs.php
+++ b/app/index/controller/ContactUs.php
@@ -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'],
diff --git a/app/index/view/mobile/contact_us/bulkbuy.html b/app/index/view/mobile/contact_us/bulkbuy.html
index c1b4bea5..d9634e7d 100644
--- a/app/index/view/mobile/contact_us/bulkbuy.html
+++ b/app/index/view/mobile/contact_us/bulkbuy.html
@@ -49,7 +49,7 @@
{notempty name="interested"}
{volist name="interested" id="it"}
{/volist}
{/notempty}
diff --git a/app/index/view/pc/contact_us/bulkbuy.html b/app/index/view/pc/contact_us/bulkbuy.html
index 5d7578da..c6e4d3a6 100644
--- a/app/index/view/pc/contact_us/bulkbuy.html
+++ b/app/index/view/pc/contact_us/bulkbuy.html
@@ -56,7 +56,7 @@
{notempty name="interested"}
{volist name="interested" id="it"}
{/volist}
{/notempty}