|
@@ -160,7 +160,7 @@ function Submit(req, res) {
|
|
}catch(err){
|
|
}catch(err){
|
|
|
|
|
|
}
|
|
}
|
|
- if (req.body.email !== undefined) {
|
|
|
|
|
|
+ if (req.body.email !== undefined && req.body.email !== "") {
|
|
console.log(req.body.email)
|
|
console.log(req.body.email)
|
|
transporter.sendMail({
|
|
transporter.sendMail({
|
|
from: '"xiey0" <xiey0@qq.com>',
|
|
from: '"xiey0" <xiey0@qq.com>',
|