Browse Source

Revert "🎈 perf: 补充乐跑不跑状态无效的用户"

This reverts commit ca5d2dba8915fcedcc842ca3fd59cf5145896ab2.
Pchen. 5 months ago
parent
commit
753791e2cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apis/Corn/StartLepao.js

+ 1 - 1
apis/Corn/StartLepao.js

@@ -31,7 +31,7 @@ class StartLepao extends API {
             let sql = `
             let sql = `
                         SELECT name, create_user, student_num, token, uid, school_id, state
                         SELECT name, create_user, student_num, token, uid, school_id, state
                         FROM lepao_account
                         FROM lepao_account
-                        WHERE auto_run = 1 AND state = 1
+                        WHERE auto_run = 1
                             AND (auto_time = ? OR (auto_time = -1 AND today_auto_time = ?))
                             AND (auto_time = ? OR (auto_time = -1 AND today_auto_time = ?))
                         `
                         `
             let r = await db.query(sql, [time, time])
             let r = await db.query(sql, [time, time])