mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 12:03:50 +08:00
fix typo.
This commit is contained in:
parent
35860a4b11
commit
3c8bb18a94
2
login.go
2
login.go
@ -108,7 +108,7 @@ func loginResponseProcessor(res *client.LoginResponse) error {
|
|||||||
res, err = cli.SubmitTicket(text)
|
res, err = cli.SubmitTicket(text)
|
||||||
continue
|
continue
|
||||||
case client.NeedCaptcha:
|
case client.NeedCaptcha:
|
||||||
log.Warnf("登录需要滑条验证码.")
|
log.Warnf("登录需要验证码.")
|
||||||
_ = ioutil.WriteFile("captcha.jpg", res.CaptchaImage, 0644)
|
_ = ioutil.WriteFile("captcha.jpg", res.CaptchaImage, 0644)
|
||||||
log.Warnf("请输入验证码 (captcha.jpg): (Enter 提交)")
|
log.Warnf("请输入验证码 (captcha.jpg): (Enter 提交)")
|
||||||
text = readLine()
|
text = readLine()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user