Documentation ¶
Overview ¶
Package tmallcampus 包含天猫校园API相关结构体
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StudentDto ¶ added in v1.2.5
type StudentDto struct { // 学校名称 Campus string `json:"campus,omitempty" xml:"campus,omitempty"` // 认证状态(0:从未参与过认证的| 1: 算法预判通过 | 2:算法预判失败 | 3:人工审核中 | 4:人工审核通过 | 5:人工审核失败) Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
StudentDto 结构体
type TmallCampusAuthstatusQueryAPIRequest ¶ added in v1.2.5
TmallCampusAuthstatusQueryAPIRequest 学生认证状态查询 API请求 tmall.campus.authstatus.query
学生认证状态查询
func NewTmallCampusAuthstatusQueryRequest ¶ added in v1.2.5
func NewTmallCampusAuthstatusQueryRequest() *TmallCampusAuthstatusQueryAPIRequest
NewTmallCampusAuthstatusQueryRequest 初始化TmallCampusAuthstatusQueryAPIRequest对象
func (TmallCampusAuthstatusQueryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TmallCampusAuthstatusQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallCampusAuthstatusQueryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TmallCampusAuthstatusQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallCampusAuthstatusQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TmallCampusAuthstatusQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type TmallCampusAuthstatusQueryAPIResponse ¶ added in v1.2.5
type TmallCampusAuthstatusQueryAPIResponse struct { model.CommonResponse TmallCampusAuthstatusQueryAPIResponseModel }
TmallCampusAuthstatusQueryAPIResponse 学生认证状态查询 API返回值 tmall.campus.authstatus.query
学生认证状态查询
type TmallCampusAuthstatusQueryAPIResponseModel ¶ added in v1.2.5
type TmallCampusAuthstatusQueryAPIResponseModel struct { XMLName xml.Name `xml:"tmall_campus_authstatus_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *TmallCampusAuthstatusQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
TmallCampusAuthstatusQueryAPIResponseModel is 学生认证状态查询 成功返回结果
type TmallCampusAuthstatusQueryResult ¶ added in v1.2.5
type TmallCampusAuthstatusQueryResult struct { // 错误信息 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 错误编码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 结果总数(用于分页) TotalNum string `json:"total_num,omitempty" xml:"total_num,omitempty"` // 是否成功 Success string `json:"success,omitempty" xml:"success,omitempty"` // 页码(用于分页) PageNum string `json:"page_num,omitempty" xml:"page_num,omitempty"` // 业务数据-学生认证状态 Data *StudentDto `json:"data,omitempty" xml:"data,omitempty"` }
TmallCampusAuthstatusQueryResult 结构体
Click to show internal directories.
Click to hide internal directories.