tmallcampus

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

天猫校园API model

https://open.taobao.com/API.htm?docId=52079&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollegeAuditStatusResponse

type CollegeAuditStatusResponse struct {
	// 认证状态描述;一共四种状态audit_name和audit_code对应关系如下:1.认证是学生 audit_pass;2.认证非学生 audit_no_pass;3.审核中 audit_wait;4.未认证 audit_no_record;
	AuditName string `json:"audit_name,omitempty" xml:"audit_name,omitempty"`
	// 认证状态编码
	AuditCode string `json:"audit_code,omitempty" xml:"audit_code,omitempty"`
}

CollegeAuditStatusResponse

type TResult

type TResult struct {
	// 调用失败
	Fail bool `json:"fail,omitempty" xml:"fail,omitempty"`
	// 数据
	Data *CollegeAuditStatusResponse `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

TResult

type TmallCampusIndustryAppAuditQueryAPIRequest added in v1.2.0

type TmallCampusIndustryAppAuditQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

天猫校园查询学生认证信息 API请求 tmall.campus.industry.app.audit.query

天猫校园查询学生认证信息

func NewTmallCampusIndustryAppAuditQueryRequest

func NewTmallCampusIndustryAppAuditQueryRequest() *TmallCampusIndustryAppAuditQueryAPIRequest

初始化TmallCampusIndustryAppAuditQueryAPIRequest对象

func (TmallCampusIndustryAppAuditQueryAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TmallCampusIndustryAppAuditQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TmallCampusIndustryAppAuditQueryAPIRequest) GetSource added in v1.2.0

Source Getter

func (*TmallCampusIndustryAppAuditQueryAPIRequest) SetSource added in v1.2.0

Source Setter 调用来源

type TmallCampusIndustryAppAuditQueryAPIResponse

type TmallCampusIndustryAppAuditQueryAPIResponse struct {
	model.CommonResponse
	TmallCampusIndustryAppAuditQueryAPIResponseModel
}

天猫校园查询学生认证信息 API返回值 tmall.campus.industry.app.audit.query

天猫校园查询学生认证信息

type TmallCampusIndustryAppAuditQueryAPIResponseModel added in v1.2.0

type TmallCampusIndustryAppAuditQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_campus_industry_app_audit_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TResult `json:"result,omitempty" xml:"result,omitempty"`
}

天猫校园查询学生认证信息 成功返回结果

Jump to

Keyboard shortcuts

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