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,10 +1,22 @@
package srunTransfer
import "github.com/Mmx233/BitSrunLoginGo/models"
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"`
}
type LoginInfo struct {
Form *srunModels.LoginForm
Meta *srunModels.LoginMeta
Form *LoginForm
Meta *LoginMeta
}
type Login struct {