foodscan

package
v1.3.3 Latest Latest
Warning

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

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

Documentation

Overview

Package foodscan 包含脚模API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaFootscanMiniQueryMobilereportAPIRequest added in v1.2.0

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

AlibabaFootscanMiniQueryMobilereportAPIRequest 根据scanId查询报告 API请求 alibaba.footscan.mini.query.mobilereport

根据scanId查询报告

func NewAlibabaFootscanMiniQueryMobilereportRequest

func NewAlibabaFootscanMiniQueryMobilereportRequest() *AlibabaFootscanMiniQueryMobilereportAPIRequest

NewAlibabaFootscanMiniQueryMobilereportRequest 初始化AlibabaFootscanMiniQueryMobilereportAPIRequest对象

func (AlibabaFootscanMiniQueryMobilereportAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFootscanMiniQueryMobilereportAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFootscanMiniQueryMobilereportAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaFootscanMiniQueryMobilereportAPIRequest) GetScanId added in v1.2.0

GetScanId ScanId Getter

func (AlibabaFootscanMiniQueryMobilereportAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlibabaFootscanMiniQueryMobilereportAPIRequest) SetScanId added in v1.2.0

SetScanId is ScanId Setter 扫描ID

func (*AlibabaFootscanMiniQueryMobilereportAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 平台分配的token

type AlibabaFootscanMiniQueryMobilereportAPIResponse

type AlibabaFootscanMiniQueryMobilereportAPIResponse struct {
	model.CommonResponse
	AlibabaFootscanMiniQueryMobilereportAPIResponseModel
}

AlibabaFootscanMiniQueryMobilereportAPIResponse 根据scanId查询报告 API返回值 alibaba.footscan.mini.query.mobilereport

根据scanId查询报告

type AlibabaFootscanMiniQueryMobilereportAPIResponseModel added in v1.2.0

type AlibabaFootscanMiniQueryMobilereportAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_footscan_mini_query_mobilereport_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 服务出参
	Result *AlibabaFootscanMiniQueryMobilereportMtopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaFootscanMiniQueryMobilereportAPIResponseModel is 根据scanId查询报告 成功返回结果

type AlibabaFootscanMiniQueryMobilereportData

type AlibabaFootscanMiniQueryMobilereportData struct {
	// 右脚趾围
	RightZhiwei string `json:"right_zhiwei,omitempty" xml:"right_zhiwei,omitempty"`
	// 右脚跗围
	RightFuwei string `json:"right_fuwei,omitempty" xml:"right_fuwei,omitempty"`
	// 右脚宽
	RightWidth string `json:"right_width,omitempty" xml:"right_width,omitempty"`
	// 右脚长
	RightLength string `json:"right_length,omitempty" xml:"right_length,omitempty"`
	// 左脚趾围
	LeftZhiwei string `json:"left_zhiwei,omitempty" xml:"left_zhiwei,omitempty"`
	// 左脚跗围
	LeftFuwei string `json:"left_fuwei,omitempty" xml:"left_fuwei,omitempty"`
	// 左脚宽
	LeftWidth string `json:"left_width,omitempty" xml:"left_width,omitempty"`
	// 左脚长
	LeftLength string `json:"left_length,omitempty" xml:"left_length,omitempty"`
}

AlibabaFootscanMiniQueryMobilereportData 结构体

type AlibabaFootscanMiniQueryMobilereportMtopResult

type AlibabaFootscanMiniQueryMobilereportMtopResult struct {
	// 成功
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 成功
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 返回i数据
	Data *AlibabaFootscanMiniQueryMobilereportData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaFootscanMiniQueryMobilereportMtopResult 结构体

type AlibabaFootscanMiniReportFragmentFirstAPIRequest added in v1.2.0

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

AlibabaFootscanMiniReportFragmentFirstAPIRequest 第一只脚生成报告接口 API请求 alibaba.footscan.mini.report.fragment.first

第一只脚生成报告接口

func NewAlibabaFootscanMiniReportFragmentFirstRequest

func NewAlibabaFootscanMiniReportFragmentFirstRequest() *AlibabaFootscanMiniReportFragmentFirstAPIRequest

NewAlibabaFootscanMiniReportFragmentFirstRequest 初始化AlibabaFootscanMiniReportFragmentFirstAPIRequest对象

func (AlibabaFootscanMiniReportFragmentFirstAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFootscanMiniReportFragmentFirstAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFootscanMiniReportFragmentFirstAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaFootscanMiniReportFragmentFirstAPIRequest) GetReqData added in v1.2.0

GetReqData ReqData Getter

func (AlibabaFootscanMiniReportFragmentFirstAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlibabaFootscanMiniReportFragmentFirstAPIRequest) SetReqData added in v1.2.0

SetReqData is ReqData Setter 请求数据

func (*AlibabaFootscanMiniReportFragmentFirstAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 平台分配的token

type AlibabaFootscanMiniReportFragmentFirstAPIResponse

type AlibabaFootscanMiniReportFragmentFirstAPIResponse struct {
	model.CommonResponse
	AlibabaFootscanMiniReportFragmentFirstAPIResponseModel
}

AlibabaFootscanMiniReportFragmentFirstAPIResponse 第一只脚生成报告接口 API返回值 alibaba.footscan.mini.report.fragment.first

第一只脚生成报告接口

type AlibabaFootscanMiniReportFragmentFirstAPIResponseModel added in v1.2.0

type AlibabaFootscanMiniReportFragmentFirstAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_footscan_mini_report_fragment_first_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 服务出参
	Result *AlibabaFootscanMiniReportFragmentFirstMtopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaFootscanMiniReportFragmentFirstAPIResponseModel is 第一只脚生成报告接口 成功返回结果

type AlibabaFootscanMiniReportFragmentFirstData

type AlibabaFootscanMiniReportFragmentFirstData struct {
	// 扫描ID
	ScanId string `json:"scan_id,omitempty" xml:"scan_id,omitempty"`
	// 测量结果为0
	IsZero bool `json:"is_zero,omitempty" xml:"is_zero,omitempty"`
}

AlibabaFootscanMiniReportFragmentFirstData 结构体

type AlibabaFootscanMiniReportFragmentFirstMtopResult

type AlibabaFootscanMiniReportFragmentFirstMtopResult struct {
	// 成功
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 成功
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 返回i数据
	Data *AlibabaFootscanMiniReportFragmentFirstData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaFootscanMiniReportFragmentFirstMtopResult 结构体

type AlibabaFootscanMiniReportFragmentSecondAPIRequest added in v1.2.0

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

AlibabaFootscanMiniReportFragmentSecondAPIRequest 第二只脚生成报告接口 API请求 alibaba.footscan.mini.report.fragment.second

第二只脚生成报告接口

func NewAlibabaFootscanMiniReportFragmentSecondRequest

func NewAlibabaFootscanMiniReportFragmentSecondRequest() *AlibabaFootscanMiniReportFragmentSecondAPIRequest

NewAlibabaFootscanMiniReportFragmentSecondRequest 初始化AlibabaFootscanMiniReportFragmentSecondAPIRequest对象

func (AlibabaFootscanMiniReportFragmentSecondAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaFootscanMiniReportFragmentSecondAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaFootscanMiniReportFragmentSecondAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaFootscanMiniReportFragmentSecondAPIRequest) GetReqData added in v1.2.0

GetReqData ReqData Getter

func (AlibabaFootscanMiniReportFragmentSecondAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlibabaFootscanMiniReportFragmentSecondAPIRequest) SetReqData added in v1.2.0

SetReqData is ReqData Setter 请求数据

func (*AlibabaFootscanMiniReportFragmentSecondAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 平台分配的token

type AlibabaFootscanMiniReportFragmentSecondAPIResponse

type AlibabaFootscanMiniReportFragmentSecondAPIResponse struct {
	model.CommonResponse
	AlibabaFootscanMiniReportFragmentSecondAPIResponseModel
}

AlibabaFootscanMiniReportFragmentSecondAPIResponse 第二只脚生成报告接口 API返回值 alibaba.footscan.mini.report.fragment.second

第二只脚生成报告接口

type AlibabaFootscanMiniReportFragmentSecondAPIResponseModel added in v1.2.0

type AlibabaFootscanMiniReportFragmentSecondAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_footscan_mini_report_fragment_second_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 服务出参
	Result *AlibabaFootscanMiniReportFragmentSecondMtopResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaFootscanMiniReportFragmentSecondAPIResponseModel is 第二只脚生成报告接口 成功返回结果

type AlibabaFootscanMiniReportFragmentSecondData

type AlibabaFootscanMiniReportFragmentSecondData struct {
	// 扫描ID
	ScanId string `json:"scan_id,omitempty" xml:"scan_id,omitempty"`
	// 测量结果为0
	IsZero bool `json:"is_zero,omitempty" xml:"is_zero,omitempty"`
}

AlibabaFootscanMiniReportFragmentSecondData 结构体

type AlibabaFootscanMiniReportFragmentSecondMtopResult

type AlibabaFootscanMiniReportFragmentSecondMtopResult struct {
	// 成功
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 成功
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 返回i数据
	Data *AlibabaFootscanMiniReportFragmentSecondData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaFootscanMiniReportFragmentSecondMtopResult 结构体

type FilePackageBasicReq

type FilePackageBasicReq struct {
	// 脚型报告的唯一标识
	ScanId string `json:"scan_id,omitempty" xml:"scan_id,omitempty"`
	// 第一张图片的文件名
	FileName1 string `json:"file_name1,omitempty" xml:"file_name1,omitempty"`
	// 第二张图片的文件名
	FileName2 string `json:"file_name2,omitempty" xml:"file_name2,omitempty"`
	// 用户唯一标识,可以是淘宝用户ID
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 第三张图片的文件名
	FileName3 string `json:"file_name3,omitempty" xml:"file_name3,omitempty"`
	// 1左脚 2右脚
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

FilePackageBasicReq 结构体

type FilePackageRequest

type FilePackageRequest struct {
	// 城市名称
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 淘宝的nickName
	NickName string `json:"nick_name,omitempty" xml:"nick_name,omitempty"`
	// 角色ID
	RoleId string `json:"role_id,omitempty" xml:"role_id,omitempty"`
	// 区域编码
	DistrictAdcode string `json:"district_adcode,omitempty" xml:"district_adcode,omitempty"`
	// 用户唯一标识,可以是淘宝用户Id
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 设备系统平台
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 设备品牌
	MobileBrand string `json:"mobile_brand,omitempty" xml:"mobile_brand,omitempty"`
	// 省份名称
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 前8位是日期,后10位是随机字符串
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 城市代码
	CityAdcode string `json:"city_adcode,omitempty" xml:"city_adcode,omitempty"`
	// 国家代码
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 手机型号
	MobileModel string `json:"mobile_model,omitempty" xml:"mobile_model,omitempty"`
	// 区域名称
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 第一张图片的文件名
	FileName1 string `json:"file_name1,omitempty" xml:"file_name1,omitempty"`
	// 第二张图片的文件名
	FileName2 string `json:"file_name2,omitempty" xml:"file_name2,omitempty"`
	// 第三张图片的文件名
	FileName3 string `json:"file_name3,omitempty" xml:"file_name3,omitempty"`
	// 用户关系类型0/本人 1/爱人 2/父母 3/朋友 4/子女 99/他人
	RelationType int64 `json:"relation_type,omitempty" xml:"relation_type,omitempty"`
	// 1男2女
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
	// 1左脚 2右脚
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

FilePackageRequest 结构体

Jump to

Keyboard shortcuts

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