mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-03-25 03:55:36 +07:00
29 lines
698 B
Go
29 lines
698 B
Go
|
package model
|
||
|
|
||
|
type OnePanelCredentials struct {
|
||
|
Name string `json:"name"`
|
||
|
Password string `json:"password"`
|
||
|
IgnoreCaptcha bool `json:"ignoreCaptcha"`
|
||
|
Captcha string `json:"captcha"`
|
||
|
CaptchaID string `json:"captchaID"`
|
||
|
AuthMethod string `json:"authMethod"`
|
||
|
Language string `json:"language"`
|
||
|
}
|
||
|
|
||
|
type LoginResponse struct {
|
||
|
Code int `json:"code"`
|
||
|
Message string `json:"message"`
|
||
|
Data struct {
|
||
|
Name string `json:"name"`
|
||
|
Token string `json:"token"`
|
||
|
MfaStatus string `json:"mfaStatus"`
|
||
|
} `json:"data"`
|
||
|
}
|
||
|
|
||
|
type LogoutResponse struct {
|
||
|
Code int `json:"code"`
|
||
|
Message string `json:"message"`
|
||
|
Data struct {
|
||
|
} `json:"data"`
|
||
|
}
|