feat: mobile批量购买留言页
This commit is contained in:
@@ -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)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user