You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
2 years ago
|
package model
|
||
|
|
||
|
type LoginResp struct {
|
||
|
IsSuccess bool `json:"IsSuccess"`
|
||
|
ErrMsg interface{} `json:"ErrMsg"`
|
||
|
Data Data `json:"Data"`
|
||
|
}
|
||
|
|
||
|
type Data struct {
|
||
|
IsLeaveLogin bool `json:"IsLeaveLogin"`
|
||
|
IsOnJob bool `json:"IsOnJob"`
|
||
|
UserInfo UserInfo `json:"UserInfo"`
|
||
|
LoginTime string `json:"LoginTime"`
|
||
|
Ticket string `json:"Ticket"`
|
||
|
}
|
||
|
|
||
|
type UserInfo struct {
|
||
|
CompanyOwner int `json:"CompanyOwner"`
|
||
|
CompanyCode string `json:"CompanyCode"`
|
||
|
CompanyName string `json:"CompanyName"`
|
||
|
BUCode string `json:"BUCode"`
|
||
|
BUName string `json:"BUName"`
|
||
|
DeptCode string `json:"DeptCode"`
|
||
|
DeptName string `json:"DeptName"`
|
||
|
EmpCode string `json:"EmpCode"`
|
||
|
EmpName string `json:"EmpName"`
|
||
|
Gender string `json:"Gender"`
|
||
|
IDCardNo string `json:"IDCardNo"`
|
||
|
Telephone string `json:"Telephone"`
|
||
|
Email string `json:"Email"`
|
||
|
LoginType int `json:"LoginType"`
|
||
|
DataSource int `json:"DataSource"`
|
||
|
Code string `json:"Code"`
|
||
|
Name string `json:"Name"`
|
||
|
IdCardNo string `json:"IdCardNo"`
|
||
|
IsOnJob bool `json:"IsOnJob"`
|
||
|
}
|