mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: 发送邮件标题文案
This commit is contained in:
parent
302bbf5831
commit
972c8ed74f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user