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}