fix: 2025-12-29 update
This commit is contained in:
@@ -3,3 +3,7 @@
|
||||
- SBGA 舞萌DX API 文档参考
|
||||
- “裸” cli 工具,没多少人性化功能
|
||||
- 暂时不完整开放,留在私仓
|
||||
|
||||
## 2025-12-29 维护
|
||||
|
||||
从此次维护开始,需要先 `qr-login` 登录,再进行login。
|
||||
|
||||
@@ -65,6 +65,7 @@ impl UserLoginApiResp {
|
||||
100 => Some(LoginError::AlreadyLogged),
|
||||
102 => Some(LoginError::QRCodeExpired),
|
||||
103 => Some(LoginError::AccountUnregistered),
|
||||
106 => Some(LoginError::KeychipMismatch),
|
||||
error => Some(LoginError::Unknown { error }),
|
||||
}
|
||||
}
|
||||
@@ -78,6 +79,8 @@ pub enum LoginError {
|
||||
AlreadyLogged,
|
||||
#[snafu(display("userId does not exist"))]
|
||||
AccountUnregistered,
|
||||
#[snafu(display("KeyChip-ID mismatch"))]
|
||||
KeychipMismatch,
|
||||
|
||||
#[snafu(display("Unknown error: {error}"))]
|
||||
Unknown { error: i32 },
|
||||
|
||||
Reference in New Issue
Block a user