Browse Source

🐞 fix: 修复单次乐跑无效的问题

Pchen. 7 months ago
parent
commit
1a20973cdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apis/Lepao/SingleRun.js

+ 1 - 1
apis/Lepao/SingleRun.js

@@ -43,7 +43,7 @@ class SingleRun extends API {
                 msg: '该账号当天已乐跑成功!请勿重复乐跑'
             })
 
-        const isProgress = await Redis.get(`lepaoProgress:${account}`)
+        const isProgress = await Redis.get(`lepaoProgress:${student_num}`)
         if (isProgress)
             return res.json({
                 ...BaseStdResponse.ERR,