fix: 发送邮件标题文案

This commit is contained in:
suxiaoxin 2017-10-05 09:57:10 +08:00
parent 302bbf5831
commit 972c8ed74f

View File

@ -113,7 +113,7 @@ exports.expireDate = (day) => {
exports.sendMail = (options, cb) => {
if (!yapi.mail) return false;
options.subject = options.subject ? options.subject + '-yapi平台' : 'ypai平台';
options.subject = options.subject ? options.subject + '-YApi 平台' : 'YApi 平台';
cb = cb || function (err) {
if (err) {