Documentation ¶
Overview ¶
Package tmallcampus 包含天猫校园API相关结构体
Index ¶
- func ReleaseStudentDto(v *StudentDto)
- func ReleaseTmallCampusAuthstatusQueryAPIRequest(v *TmallCampusAuthstatusQueryAPIRequest)
- func ReleaseTmallCampusAuthstatusQueryAPIResponse(v *TmallCampusAuthstatusQueryAPIResponse)
- func ReleaseTmallCampusAuthstatusQueryResult(v *TmallCampusAuthstatusQueryResult)
- type StudentDto
- type TmallCampusAuthstatusQueryAPIRequest
- type TmallCampusAuthstatusQueryAPIResponse
- type TmallCampusAuthstatusQueryAPIResponseModel
- type TmallCampusAuthstatusQueryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseStudentDto ¶ added in v1.3.4
func ReleaseStudentDto(v *StudentDto)
ReleaseStudentDto 释放StudentDto
func ReleaseTmallCampusAuthstatusQueryAPIRequest ¶ added in v1.3.4
func ReleaseTmallCampusAuthstatusQueryAPIRequest(v *TmallCampusAuthstatusQueryAPIRequest)
ReleaseTmallCampusAuthstatusQueryAPIRequest 将 TmallCampusAuthstatusQueryAPIRequest 放入 sync.Pool
func ReleaseTmallCampusAuthstatusQueryAPIResponse ¶ added in v1.3.4
func ReleaseTmallCampusAuthstatusQueryAPIResponse(v *TmallCampusAuthstatusQueryAPIResponse)
ReleaseTmallCampusAuthstatusQueryAPIResponse 将 TmallCampusAuthstatusQueryAPIResponse 保存到 sync.Pool
func ReleaseTmallCampusAuthstatusQueryResult ¶ added in v1.3.4
func ReleaseTmallCampusAuthstatusQueryResult(v *TmallCampusAuthstatusQueryResult)
ReleaseTmallCampusAuthstatusQueryResult 释放TmallCampusAuthstatusQueryResult
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 结构体
func GetStudentDto ¶ added in v1.3.4
func GetStudentDto() *StudentDto
GetStudentDto() 从对象池中获取StudentDto
type TmallCampusAuthstatusQueryAPIRequest ¶ added in v1.2.5
TmallCampusAuthstatusQueryAPIRequest 学生认证状态查询 API请求 tmall.campus.authstatus.query
学生认证状态查询
func GetTmallCampusAuthstatusQueryAPIRequest ¶ added in v1.3.4
func GetTmallCampusAuthstatusQueryAPIRequest() *TmallCampusAuthstatusQueryAPIRequest
GetTmallCampusAuthstatusQueryRequest 从 sync.Pool 获取 TmallCampusAuthstatusQueryAPIRequest
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原始参数
func (*TmallCampusAuthstatusQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TmallCampusAuthstatusQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
type TmallCampusAuthstatusQueryAPIResponse ¶ added in v1.2.5
type TmallCampusAuthstatusQueryAPIResponse struct { model.CommonResponse TmallCampusAuthstatusQueryAPIResponseModel }
TmallCampusAuthstatusQueryAPIResponse 学生认证状态查询 API返回值 tmall.campus.authstatus.query
学生认证状态查询
func GetTmallCampusAuthstatusQueryAPIResponse ¶ added in v1.3.4
func GetTmallCampusAuthstatusQueryAPIResponse() *TmallCampusAuthstatusQueryAPIResponse
GetTmallCampusAuthstatusQueryAPIResponse 从 sync.Pool 获取 TmallCampusAuthstatusQueryAPIResponse
func (*TmallCampusAuthstatusQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TmallCampusAuthstatusQueryAPIResponse) Reset()
Reset 清空结构体
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 学生认证状态查询 成功返回结果
func (*TmallCampusAuthstatusQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TmallCampusAuthstatusQueryAPIResponseModel) Reset()
Reset 清空结构体
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 结构体
func GetTmallCampusAuthstatusQueryResult ¶ added in v1.3.4
func GetTmallCampusAuthstatusQueryResult() *TmallCampusAuthstatusQueryResult
GetTmallCampusAuthstatusQueryResult() 从对象池中获取TmallCampusAuthstatusQueryResult