improve: 拆分登录函数
This commit is contained in:
13
v1/models.go
13
v1/models.go
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user