Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StartTime = gtime.Datetime()
Functions ¶
Types ¶
type Logininfor ¶
type Logininfor struct { InfoId int64 `json:"infoId,string" db:"info_id"` Status int8 `json:"status" db:"status"` UserName string `json:"userName" db:"user_name"` Msg string `json:"msg" db:"msg"` IpAddr string `json:"ipAddr" db:"ipaddr"` LoginLocation string `json:"loginLocation" db:"login_location"` Browser string `json:"browser" db:"browser"` Os string `json:"os" db:"os"` LoginTime baizeEntity.BaiZeTime `json:"loginTime" db:"login_time"` }
type LogininforDQL ¶
type LogininforDQL struct { Status string `form:"status" db:"status"` UserName string `form:"userName" db:"user_name"` IpAddr string `form:"ipAddr" db:"ipaddr"` baizeEntity.BaseEntityDQL }
type SysUserOnline ¶
type SysUserOnline struct { TokenId string `json:"tokenId"` UserName string `json:"userName"` Ipaddr string `json:"ipaddr"` LoginLocation string `json:"loginLocation"` Browser string `json:"browser"` Os string `json:"os"` LoginTime int64 `json:"loginTime"` DeptName *string `json:"deptName"` }
func GetSysUserOnlineByUser ¶
func GetSysUserOnlineByUser(loginUser *systemModels.LoginUser) *SysUserOnline
Click to show internal directories.
Click to hide internal directories.