style: 移动登录信息结构体位置

This commit is contained in:
Mmx
2021-11-25 09:42:32 +08:00
parent ee86c3ad94
commit a4e91eb251
5 changed files with 32 additions and 26 deletions

View File

@@ -1,18 +1,6 @@
package srunModels
type LoginForm struct {
Domain string `json:"domain"`
UserName string `json:"username"`
UserType string `json:"user_type"`
PassWord string `json:"password"`
}
type LoginMeta struct {
N string `json:"n"`
Type string `json:"type"`
Acid string `json:"acid"`
Enc string `json:"enc"`
}
import "github.com/Mmx233/BitSrunLoginGo/v1/transfer"
type LoginInfo struct {
UrlLoginPage string
@@ -28,6 +16,6 @@ type LoginInfo struct {
EncryptedChkstr string
LoginResult string
Form *LoginForm
Meta *LoginMeta
Form *srunTransfer.LoginForm
Meta *srunTransfer.LoginMeta
}