feat: mobile批量购买留言页

This commit is contained in:
2025-05-28 09:52:34 +08:00
parent 96d05e0d09
commit ad55d14f8e
7 changed files with 556 additions and 33 deletions

View File

@@ -218,9 +218,9 @@ class ContactUs extends Common
'ip' => request()->ip(),
]);
if ($ret->isEmpty()) {
return error(lang('contact_bulkbuy.send_fail'));
return error(lang('信息提交失败!'));
}
return success(lang('contact_bulkbuy.send_success'));
return success(lang('信息已成功提交!'));
}
// 获取可选产品品类配置
@@ -230,7 +230,7 @@ class ContactUs extends Common
->byName('bulk_purchase_inquiry_interested')
->find();
if (empty($config)) {
return error('当前选定语言的采购可选品类配置出错');
return error(lang('当前选定语言的采购可选品类配置出错'));
}
View::assign('interested', explode(',', preg_replace('/\r?\n/', ',', $config->value)));