1Panel/backend/app/dto/user.go
2022-09-20 14:55:08 +08:00

17 lines
298 B
Go

package dto
type CaptchaResponse struct {
CaptchaID string `json:"captchaID"`
ImagePath string `json:"imagePath"`
}
type UserLoginInfo struct {
Name string `json:"name"`
Token string `json:"token"`
}
type MfaCredential struct {
Secret string `json:"secret"`
Code string `json:"code"`
}