Browse Source

✨ feat: 更新乐跑成功状态判断

Pchen. 8 months ago
parent
commit
ebf5a1f893
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Lepao/Lepao.js

+ 1 - 1
lib/Lepao/Lepao.js

@@ -188,7 +188,7 @@ class Lepao {
                 let term_num = recordData?.term_num || 0
                 let total_num = recordData?.total_num || 30
 
-                if (data.data.record_failed_reason === '') {
+                if (data.data.record_failed_reason === '自动确认有效') {
                     await this.sendSuccessEmail(account, data.data, term_num, total_num)
                 } else {
                     this.logger.warn(`${account}乐跑失败,原因: ${data.data.record_failed_reason}`)