mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 08:39:09 +08:00
update
This commit is contained in:
parent
4992ea635c
commit
6de46f5c36
@ -11,7 +11,7 @@ use App\Jobs\SendEmail;
|
|||||||
class MailController extends Controller
|
class MailController extends Controller
|
||||||
{
|
{
|
||||||
public function send (MailSend $request) {
|
public function send (MailSend $request) {
|
||||||
if ($request->input('type') == 2 && $request->input('receiver')) {
|
if ($request->input('type') == 2 && empty($request->input('receiver'))) {
|
||||||
abort(500, '收件人不能为空');
|
abort(500, '收件人不能为空');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user