|
|
@@ -85,7 +85,7 @@ class AddAccount extends API {
|
|
|
}
|
|
|
|
|
|
if (countRows.length !== 0) {
|
|
|
- if (countRows[0].total_num >= target_count && target_count !== 0)
|
|
|
+ if (auto_run === 1 && countRows[0].total_num >= target_count && target_count !== 0)
|
|
|
return res.json({ ...BaseStdResponse.ERR, msg: '该账号累计跑步次数已达到预设目标次数,请尝试增大目标次数后再试' })
|
|
|
}
|
|
|
|