style: 移动登录信息结构体位置
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user