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