feat: mobile 联系我们留言页
This commit is contained in:
@@ -89,10 +89,10 @@ class ContactUs extends Common
|
||||
'user_agent' => request()->header('user-agent'),
|
||||
]);
|
||||
if ($msg->isEmpty()) {
|
||||
return error(lang('contact_message.send_fail'));
|
||||
return error(lang('信息提交失败!'));
|
||||
}
|
||||
|
||||
return success(lang('contact_message.send_success'));
|
||||
return success(lang('信息已成功提交!'));
|
||||
}
|
||||
|
||||
$focus_image = [];
|
||||
@@ -103,6 +103,7 @@ class ContactUs extends Common
|
||||
->where('status', '=', 1)
|
||||
->order(['sort' => 'asc', 'id' => 'desc']);
|
||||
}])
|
||||
->atPlatform(request()->from)
|
||||
->uniqueLabel([
|
||||
'BANNER_6801be1e7d686',
|
||||
'BANNER_6801c053ce12e',
|
||||
|
||||
Reference in New Issue
Block a user