(desp, author = '')
| 1522 | } |
| 1523 | |
| 1524 | function buildLastDesp(desp, author = '') { |
| 1525 | author = process.env.NOTIFY_AUTHOR || author; |
| 1526 | if (process.env.NOTIFY_AUTHOR_BLANK || !author) { |
| 1527 | return desp.trim(); |
| 1528 | } else { |
| 1529 | if (!author.match(/本通知 By/)) { |
| 1530 | author = `\n\n${author}` |
| 1531 | } |
| 1532 | return desp.trim() + author + "\n现在时刻: " + GetDateTime(new Date()); |
| 1533 | } |
| 1534 | } |
| 1535 | |
| 1536 | function ChangeUserId(desp) { |
| 1537 | const QYWX_AM_AY = QYWX_AM.split(','); |
no test coverage detected