Authored by htoooth

fix

... ... @@ -406,7 +406,7 @@ async function sendEmail() {
}
},
'yohobuywap-node': {
name: 'yohobuywap-node',
name: APP_NAME.h5,
one: {
time: tf,
client: await model.getClientDayCount(APP_NAME.h5, t.valueOf(), tr.valueOf()),
... ...
... ... @@ -4,7 +4,7 @@ const moment = require('moment');
function reporter(data, cb) {
const mailOptions = {
from: 'automan@yoho.cn',
to: 'tao.huang@yoho.cn',
to: 'webtech@yoho.cn',
subject: `线上项目错误结果最近三天结果汇总 ` + moment().format('YYYY-MM-DD HH:mm:ss'),
html: tpl(data['yohobuy-node']) + tpl(data['yohobuywap-node'])
};
... ...