增加弹窗输入OTP动态码的功能

This commit is contained in:
wsczx
2024-10-07 17:11:56 +08:00
parent 1c6fc446c9
commit 11bd9861e5
6 changed files with 288 additions and 67 deletions

View File

@@ -17,6 +17,8 @@ type ClientRequest struct {
Version string `xml:"version"` // 客户端版本号
GroupAccess string `xml:"group-access"` // 请求的地址
GroupSelect string `xml:"group-select"` // 选择的组名
RemoteAddr string `xml:"remote_addr"`
UserAgent string `xml:"user_agent"`
SessionId string `xml:"session-id"`
SessionToken string `xml:"session-token"`
Auth auth `xml:"auth"`
@@ -27,6 +29,7 @@ type ClientRequest struct {
type auth struct {
Username string `xml:"username"`
Password string `xml:"password"`
OtpSecret string `xml:"otp_secret"`
SecondaryPassword string `xml:"secondary_password"`
}