Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnionUserBaseInfoType ¶
type UnionUserBaseInfoType struct { Avatar string `json:"avatar"` LoginAppName string `json:"loginAppName"` LoginDeviceInfo string `json:"loginDeviceInfo"` LoginIP string `json:"loginIp"` LoginName string `json:"loginName"` LoginPwd string `json:"loginPwd"` LoginUserID int `json:"loginUserId"` LoginUserNikeName string `json:"loginUserNikeName"` MaxTokenTime int `json:"maxTokenTime"` UserType int `json:"userType"` WxUserID string `json:"wxUserId"` }
基于产研的登录方式存取员工基本信息
func (*UnionUserBaseInfoType) Get ¶
func (this *UnionUserBaseInfoType) Get(token string, appId string) error
func (*UnionUserBaseInfoType) Set ¶
func (this *UnionUserBaseInfoType) Set(token string, appId string) error
type UnionUserHotelRelationInfoType ¶
type UnionUserHotelRelationInfoType []struct { UserID int `json:"userId"` HotelCode string `json:"hotelCode"` HotelName string `json:"hotelName"` CompanyID int `json:"companyId"` DepartmentID int `json:"departmentId"` DefaultHotel int `json:"defaultHotel"` }
基于产研的登录方式存储员工酒店信息
func (*UnionUserHotelRelationInfoType) Get ¶
func (this *UnionUserHotelRelationInfoType) Get(token string, appId string) error
func (*UnionUserHotelRelationInfoType) Set ¶
func (this *UnionUserHotelRelationInfoType) Set(token string, appId string) error
type UnionUserInfoType ¶
type UnionUserInfoType struct { Token string `json:"token"` AppID int `json:"appId"` LoginTime int64 `json:"loginTime"` LoginInVO UnionUserBaseInfoType `json:"loginInVO"` ResourceModelList UnionUserResourceInfoType `json:"resourceModelList"` UserHotelMappingRelationsVOList UnionUserHotelRelationInfoType `json:"userHotelMappingRelationsVOList"` }
产研登录发送过来的全量数据类型
type UnionUserLoginTimeType ¶
type UnionUserLoginTimeType struct {
LoginTime int64 `json:"loginTime"`
}
基于产研的登录方式存储员工登录时间信息
func (*UnionUserLoginTimeType) Get ¶
func (this *UnionUserLoginTimeType) Get(token string, appId string) error
func (*UnionUserLoginTimeType) Set ¶
func (this *UnionUserLoginTimeType) Set(token string, appId string) error
type UnionUserResourceInfoType ¶
type UnionUserResourceInfoType []struct { CreateUserID int `json:"createUserId"` Description string `json:"description"` ID int `json:"id"` ImageURL string `json:"imageUrl"` IsBackURL int `json:"isBackUrl"` Name string `json:"name"` ParentID int `json:"parentId"` Status int `json:"status"` TopParentID int `json:"topParentId"` Type int `json:"type"` URL string `json:"url"` URLIndex int `json:"urlIndex"` URLType int `json:"urlType"` }
基于产研的登录方式存储员工资源信息
func (*UnionUserResourceInfoType) Get ¶
func (this *UnionUserResourceInfoType) Get(token string, appId string) error
func (*UnionUserResourceInfoType) Set ¶
func (this *UnionUserResourceInfoType) Set(token string, appId string) error
Click to show internal directories.
Click to hide internal directories.