Skip to content

Commit

Permalink
Merge pull request #152 from bbkxm/master
Browse files Browse the repository at this point in the history
fix: 解决condition is always false
  • Loading branch information
yaphone authored Apr 10, 2024
2 parents b68bff9 + 3c93dfa commit 85131c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void login(String qrPath) {
return;
}
while (true) {
for (int count = 0; count < 10; count++) {
for (int count = 0; count <= 10; count++) {
LOG.info("获取UUID");
while (loginService.getUuid() == null) {
LOG.info("1. 获取微信UUID");
Expand Down Expand Up @@ -85,4 +85,4 @@ public void login(String qrPath) {
LOG.info("12.开启微信状态检测线程");
new Thread(new CheckLoginStatusThread()).start();
}
}
}

0 comments on commit 85131c0

Please sign in to comment.