mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
update error.
This commit is contained in:
parent
071d50aec7
commit
c2cd2cef0b
@ -92,7 +92,7 @@ func decodeLoginResponse(c *QQClient, _ uint16, payload []byte) (interface{}, er
|
||||
if t204, ok := m[0x204]; ok { // 同时支持扫码验证 ?
|
||||
return LoginResponse{
|
||||
Success: false,
|
||||
Error: SNSNeededError | UnsafeDeviceError,
|
||||
Error: SNSOrVerifyNeededError,
|
||||
VerifyUrl: string(t204),
|
||||
SMSPhone: phone,
|
||||
ErrorMessage: string(m[0x17e]),
|
||||
|
@ -254,6 +254,7 @@ const (
|
||||
UnsafeDeviceError LoginError = 4
|
||||
SNSNeededError LoginError = 5
|
||||
TooManySMSRequestError LoginError = 6
|
||||
SNSOrVerifyNeededError LoginError = 7
|
||||
UnknownLoginError LoginError = -1
|
||||
|
||||
Owner MemberPermission = iota
|
||||
|
Loading…
x
Reference in New Issue
Block a user