dto

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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

type Enterprise struct {
	OpenID  string `json:"open_id"`
	AppFlag string `json:"app_flag"`
}

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 MiniResponse struct {
	Ticket    string `json:"ticket"`
	Noncestr  string `json:"noncestr"`
	Timestamp string `json:"timestamp"`
	Signature string `json:"signature"`
	Appid     string `json:"appid"`
}

type MiniTicket

type MiniTicket struct {
	Errcode   int    `json:"errcode"`
	Errmsg    string `json:"errmsg"`
	Ticket    string `json:"ticket"`
	ExpiresIn int    `json:"expires_in"`
}

type MiniToken

type MiniToken struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   string `json:"expires_in"`
}

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 批量查询返回的志愿者信息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL