Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeSession ¶
type CodeSession struct { Openid string `json:"openid"` SessionKey string `json:"session_key"` Unionid string `json:"unionid"` Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` }
CodeSession 获取openid对应的结构体
type Enterprise ¶
Enterprise 企业认证接口参数结构体
type EnterpriseInfo ¶
type EnterpriseInfo struct { EngName string `json:"EngName"` ChnName string `json:"ChnName"` DeptIDString string `json:"DeptIDString"` DeptNameString string `json:"DeptNameString"` Status int `json:"status"` }
EnterpriseInfo 返回企业认证数据 status 状态 2 离职 1 在职 3 试用期 8 待入职 9 未入职
type LoginResponse ¶
type LoginResponse struct { Ticket string `json:"ticket"` Expire int32 `json:"expire"` SubId string `json:"sub_id"` Enterprise string `json:"enterprise"` }
LoginResponse 登录接口返回数据
type MapAppinfo ¶
type MapAppinfo struct { Appid string `json:"appid"` Secret string `json:"secret"` Token string `json:"token"` Desc string `json:"desc"` }
MapAppinfo appid与信息对应表
type MiniResponse ¶
type MiniTicket ¶
type PersonVerifyInfo ¶
type PersonVerifyInfo struct { PersonId string `json:"person_id"` Truename string `json:"truename"` Idcard string `json:"idcard"` Mobile string `json:"mobile"` Sex int `json:"sex"` SubId string `json:"sub_id"` IsValid int `json:"is_valid"` Code int `json:"code"` }
PersonVerifyInfo 用户实名信息相关
type RIOKey ¶
type RIOKey struct { Key string `json:"key"` EngName string `json:"engName"` StaffId string `json:"staffID"` }
RIOKey rio 返回用户key信息
type SmsResponse ¶
type SmsResponse struct { Response struct { SendStatusSet []struct { SerialNo string `json:"SerialNo"` PhoneNumber string `json:"PhoneNumber"` Fee int `json:"Fee"` SessionContext string `json:"SessionContext"` Code string `json:"Code"` Message string `json:"Message"` IsoCode string `json:"IsoCode"` } `json:"SendStatusSet"` RequestID string `json:"RequestId"` } `json:"Response"` }
SmsResponse 发短信结果
type UserInfo ¶
type UserInfo struct { IdCard string `json:"idcard"` TrueName string `json:"truename"` Mobile string `json:"mobile"` SubId string `json:"sub_id"` IsPersonVerified int `json:"is_person_verified"` }
UserInfo 用户基础信息
type VerifyResult ¶
type VerifyResult struct { Result string `json:"result"` Description string `json:"description"` RequestId string `json:"requestid"` }
VerifyResult 腾讯云实名认证接口返回结果
type VolunteerInfo ¶
type VolunteerInfo struct { SubID string `gorm:"sub_id" json:"sub_id"` TrueName string `gorm:"column:truename" json:"truename"` Enterprise string `gorm:"column:company_flag" json:"enterprise"` BG int `gorm:"column:bg_id" json:"bg" hashids:"true"` Department int `gorm:"column:dept_id" json:"department" hashids:"true"` }
VolunteerInfo 批量查询返回的志愿者信息
type VolunteersInfo ¶
type VolunteersInfo struct { SubID string `gorm:"sub_id" json:"sub_id"` TrueName string `gorm:"column:truename" json:"truename"` Enterprise string `gorm:"column:company_flag" json:"enterprise"` BG string `gorm:"column:bg_id" json:"bg" hashids:"true"` Department string `gorm:"column:dept_id" json:"department" hashids:"true"` }
VolunteersInfo 批量查询返回的志愿者信息
Click to show internal directories.
Click to hide internal directories.