Skip to content

Commit

Permalink
优化登录验证器流程
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamVoid committed Aug 1, 2024
1 parent 37a5b4a commit 34a4d8b
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public boolean onCommand(ICommandSender sender, String[] args) {
}
case "captcha": {
if (args.length >= 3) {
sender.sendMessage("&a已将验证码提交到服务器");
MiraiLoginSolver.solve(Long.parseLong(args[1]), args[2]);
sender.sendMessage("&a已将验证码提交到服务器");
} else sender.sendMessage("&c无效的参数!用法:/miraiverify captcha <账号> <验证码>");
break;
}
Expand Down
Loading

0 comments on commit 34a4d8b

Please sign in to comment.