mirror of
https://github.com/YMFE/yapi.git
synced 2025-04-12 15:10:23 +08:00
fix: 发送邮件标题文案
This commit is contained in:
parent
47e4463cce
commit
9cbd5d1f61
@ -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…
x
Reference in New Issue
Block a user