improve: 拆分登录函数

This commit is contained in:
Mmx233
2022-10-21 14:31:35 +08:00
parent 93dfeab8e1
commit 16e207b8e2
3 changed files with 47 additions and 79 deletions

View File

@@ -38,16 +38,3 @@ type Conf struct {
func (a *Conf) initApi() {
a.api.Init(a.Https, a.LoginInfo.Form.Domain, a.Client)
}
type LoginContext struct {
Ip string
Token string
EncryptedInfo string
Md5 string
EncryptedMd5 string
EncryptedChkstr string
LoginResult string
Form *LoginForm
Meta *LoginMeta
}