|
@@ -118,7 +118,7 @@ class UpdateAccountAndroidApp extends API {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (findRows[0].notice_type === 'bot' && findRows[0].bot_umo) {
|
|
if (findRows[0].notice_type === 'bot' && findRows[0].bot_umo) {
|
|
|
- this.logger.info(`${account}发送乐跑更新Bot通知,UMO=${rows[0].bot_umo}`)
|
|
|
|
|
|
|
+ this.logger.info(`${student_num}发送乐跑更新Bot通知,UMO=${findRows[0].bot_umo}`)
|
|
|
const ch = await mq.getChannel(this.messageQueue)
|
|
const ch = await mq.getChannel(this.messageQueue)
|
|
|
|
|
|
|
|
await ch.assertQueue(this.messageQueue, {
|
|
await ch.assertQueue(this.messageQueue, {
|
|
@@ -134,10 +134,10 @@ class UpdateAccountAndroidApp extends API {
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
- this.logger.info(`${account}乐跑更新Bot通知发送完成`)
|
|
|
|
|
|
|
+ this.logger.info(`${student_num}乐跑更新Bot通知发送完成`)
|
|
|
} else if (findRows[0].notice_type === 'email' && findRows[0].email) {
|
|
} else if (findRows[0].notice_type === 'email' && findRows[0].email) {
|
|
|
await EmailTemplate.updateSuccess(findRows[0].email, emailData)
|
|
await EmailTemplate.updateSuccess(findRows[0].email, emailData)
|
|
|
- this.logger.info(`${account}乐跑更新邮件发送完成`)
|
|
|
|
|
|
|
+ this.logger.info(`${student_num}乐跑更新邮件发送完成`)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (findRows[0].auto_run === 1 && Array.isArray(findRows[0].auto_day) && findRows[0].auto_day.includes(new Date().getDay())) {
|
|
if (findRows[0].auto_run === 1 && Array.isArray(findRows[0].auto_day) && findRows[0].auto_day.includes(new Date().getDay())) {
|