customizemarket

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package customizemarket 包含淘宝定制行业API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaTaobaoIndustryPetProfileQueryAPIRequest added in v1.2.5

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

AlibabaTaobaoIndustryPetProfileQueryAPIRequest 用户宠物列表查询 API请求 alibaba.taobao.industry.pet.profile.query

用户宠物列表查询

func NewAlibabaTaobaoIndustryPetProfileQueryRequest added in v1.2.5

func NewAlibabaTaobaoIndustryPetProfileQueryRequest() *AlibabaTaobaoIndustryPetProfileQueryAPIRequest

NewAlibabaTaobaoIndustryPetProfileQueryRequest 初始化AlibabaTaobaoIndustryPetProfileQueryAPIRequest对象

func (AlibabaTaobaoIndustryPetProfileQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTaobaoIndustryPetProfileQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTaobaoIndustryPetProfileQueryAPIRequest) GetProfileQuery added in v1.2.5

GetProfileQuery ProfileQuery Getter

func (AlibabaTaobaoIndustryPetProfileQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaTaobaoIndustryPetProfileQueryAPIRequest) SetProfileQuery added in v1.2.5

func (r *AlibabaTaobaoIndustryPetProfileQueryAPIRequest) SetProfileQuery(_profileQuery *ProfileQuery) error

SetProfileQuery is ProfileQuery Setter 参数

type AlibabaTaobaoIndustryPetProfileQueryAPIResponse added in v1.2.5

type AlibabaTaobaoIndustryPetProfileQueryAPIResponse struct {
	model.CommonResponse
	AlibabaTaobaoIndustryPetProfileQueryAPIResponseModel
}

AlibabaTaobaoIndustryPetProfileQueryAPIResponse 用户宠物列表查询 API返回值 alibaba.taobao.industry.pet.profile.query

用户宠物列表查询

type AlibabaTaobaoIndustryPetProfileQueryAPIResponseModel added in v1.2.5

type AlibabaTaobaoIndustryPetProfileQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_taobao_industry_pet_profile_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 参数错误
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 501
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 数据
	Object *BasePageBean `json:"object,omitempty" xml:"object,omitempty"`
	// 是否成功
	ResultStatus bool `json:"result_status,omitempty" xml:"result_status,omitempty"`
}

AlibabaTaobaoIndustryPetProfileQueryAPIResponseModel is 用户宠物列表查询 成功返回结果

type BasePageBean added in v1.2.5

type BasePageBean struct {
	// 数据
	Data []PetProfileDto `json:"data,omitempty" xml:"data>pet_profile_dto,omitempty"`
	// 当前页面
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 总行数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

BasePageBean 结构体

type PetProfileDto added in v1.2.5

type PetProfileDto struct {
	// 宠物nick
	PetNick string `json:"pet_nick,omitempty" xml:"pet_nick,omitempty"`
	// 宠物种类类型
	PetType string `json:"pet_type,omitempty" xml:"pet_type,omitempty"`
	// 宠物种类名
	PetTypeName string `json:"pet_type_name,omitempty" xml:"pet_type_name,omitempty"`
	// 宠物生日,年-月-日
	PetBirthday string `json:"pet_birthday,omitempty" xml:"pet_birthday,omitempty"`
	// 宠物头像
	PetImage string `json:"pet_image,omitempty" xml:"pet_image,omitempty"`
	// 宠物保险照片
	PetPics string `json:"pet_pics,omitempty" xml:"pet_pics,omitempty"`
	// 宠物档案id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 宠物性别:1男 2 女
	PetSex int64 `json:"pet_sex,omitempty" xml:"pet_sex,omitempty"`
	// 是否绝育:0否,1 是 2 未知
	PetNobaby int64 `json:"pet_nobaby,omitempty" xml:"pet_nobaby,omitempty"`
}

PetProfileDto 结构体

type ProfileQuery added in v1.2.5

type ProfileQuery struct {
	// 宠物名称
	PetNick string `json:"pet_nick,omitempty" xml:"pet_nick,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 第几页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
}

ProfileQuery 结构体

type ServiceResult

type ServiceResult struct {
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// errorCode
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// suc
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
}

ServiceResult 结构体

type TaobaoMarketPictureGetuserpicturesAPIRequest added in v1.2.0

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

TaobaoMarketPictureGetuserpicturesAPIRequest 读取用户上传图片 API请求 taobao.market.picture.getuserpictures

商家通过用户信息,获取用户上传的

func NewTaobaoMarketPictureGetuserpicturesRequest

func NewTaobaoMarketPictureGetuserpicturesRequest() *TaobaoMarketPictureGetuserpicturesAPIRequest

NewTaobaoMarketPictureGetuserpicturesRequest 初始化TaobaoMarketPictureGetuserpicturesAPIRequest对象

func (TaobaoMarketPictureGetuserpicturesAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMarketPictureGetuserpicturesAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMarketPictureGetuserpicturesAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (TaobaoMarketPictureGetuserpicturesAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoMarketPictureGetuserpicturesAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 订单ID

type TaobaoMarketPictureGetuserpicturesAPIResponse

type TaobaoMarketPictureGetuserpicturesAPIResponse struct {
	model.CommonResponse
	TaobaoMarketPictureGetuserpicturesAPIResponseModel
}

TaobaoMarketPictureGetuserpicturesAPIResponse 读取用户上传图片 API返回值 taobao.market.picture.getuserpictures

商家通过用户信息,获取用户上传的

type TaobaoMarketPictureGetuserpicturesAPIResponseModel added in v1.2.0

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

TaobaoMarketPictureGetuserpicturesAPIResponseModel is 读取用户上传图片 成功返回结果

type TmallIndustryBabyAuthprofileBackflowAPIRequest added in v1.2.8

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

TmallIndustryBabyAuthprofileBackflowAPIRequest 孕校云回流档案 API请求 tmall.industry.baby.authprofile.backflow

孕校云回流档案

func NewTmallIndustryBabyAuthprofileBackflowRequest added in v1.2.8

func NewTmallIndustryBabyAuthprofileBackflowRequest() *TmallIndustryBabyAuthprofileBackflowAPIRequest

NewTmallIndustryBabyAuthprofileBackflowRequest 初始化TmallIndustryBabyAuthprofileBackflowAPIRequest对象

func (TmallIndustryBabyAuthprofileBackflowAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallIndustryBabyAuthprofileBackflowAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (TmallIndustryBabyAuthprofileBackflowAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TmallIndustryBabyAuthprofileBackflowAPIRequest) GetYxyBabyProfileCmd added in v1.2.8

GetYxyBabyProfileCmd YxyBabyProfileCmd Getter

func (*TmallIndustryBabyAuthprofileBackflowAPIRequest) SetYxyBabyProfileCmd added in v1.2.8

func (r *TmallIndustryBabyAuthprofileBackflowAPIRequest) SetYxyBabyProfileCmd(_yxyBabyProfileCmd *YxyBabyProfileCmd) error

SetYxyBabyProfileCmd is YxyBabyProfileCmd Setter 回流的档案数据

type TmallIndustryBabyAuthprofileBackflowAPIResponse added in v1.2.8

type TmallIndustryBabyAuthprofileBackflowAPIResponse struct {
	model.CommonResponse
	TmallIndustryBabyAuthprofileBackflowAPIResponseModel
}

TmallIndustryBabyAuthprofileBackflowAPIResponse 孕校云回流档案 API返回值 tmall.industry.baby.authprofile.backflow

孕校云回流档案

type TmallIndustryBabyAuthprofileBackflowAPIResponseModel added in v1.2.8

type TmallIndustryBabyAuthprofileBackflowAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_industry_baby_authprofile_backflow_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	MsgMessage string `json:"msg_message,omitempty" xml:"msg_message,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 接口调用是否成功
	ResultStatus bool `json:"result_status,omitempty" xml:"result_status,omitempty"`
}

TmallIndustryBabyAuthprofileBackflowAPIResponseModel is 孕校云回流档案 成功返回结果

type YxyBabyProfileCmd added in v1.2.8

type YxyBabyProfileCmd struct {
	// 出生年月或者预产期
	Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"`
	// 性别
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 授权id
	ProfileId int64 `json:"profile_id,omitempty" xml:"profile_id,omitempty"`
	// 宝贝类型
	BabyType int64 `json:"baby_type,omitempty" xml:"baby_type,omitempty"`
}

YxyBabyProfileCmd 结构体

Jump to

Keyboard shortcuts

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