dt

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dt 包含数据API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaDtTmllcarLeadsinfoAPIRequest added in v1.2.0

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

AlibabaDtTmllcarLeadsinfoAPIRequest 天猫汽车线索产品潜客数据 API请求 alibaba.dt.tmllcar.leadsinfo

1. 线索分发是天猫汽车行业流量端最中要的产品,经过前两年的业务和数据端的积累已经对整体业务流程和方案有了清晰的思路;目前数据段已经产沉淀2000W汽车潜客数据,通过运营尝试得到了较好的效果,今年将通过与商家端合作(大搜车-卖车管家)完成潜客分发-商家报价-潜客触达-线索分发-线下核销等一整个汽车人群运营闭环;这个接口反馈大搜车线下门店周围潜客规模及热门车型数据

func NewAlibabaDtTmllcarLeadsinfoRequest

func NewAlibabaDtTmllcarLeadsinfoRequest() *AlibabaDtTmllcarLeadsinfoAPIRequest

NewAlibabaDtTmllcarLeadsinfoRequest 初始化AlibabaDtTmllcarLeadsinfoAPIRequest对象

func (AlibabaDtTmllcarLeadsinfoAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDtTmllcarLeadsinfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDtTmllcarLeadsinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDtTmllcarLeadsinfoAPIRequest) GetAppName added in v1.2.0

GetAppName AppName Getter

func (AlibabaDtTmllcarLeadsinfoAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (AlibabaDtTmllcarLeadsinfoAPIRequest) GetPassword added in v1.2.0

GetPassword Password Getter

func (AlibabaDtTmllcarLeadsinfoAPIRequest) GetShopCode added in v1.2.0

GetShopCode ShopCode Getter

func (*AlibabaDtTmllcarLeadsinfoAPIRequest) SetAppName added in v1.2.0

func (r *AlibabaDtTmllcarLeadsinfoAPIRequest) SetAppName(_appName string) error

SetAppName is AppName Setter app_name

func (*AlibabaDtTmllcarLeadsinfoAPIRequest) SetName added in v1.2.0

SetName is Name Setter name

func (*AlibabaDtTmllcarLeadsinfoAPIRequest) SetPassword added in v1.2.0

func (r *AlibabaDtTmllcarLeadsinfoAPIRequest) SetPassword(_password string) error

SetPassword is Password Setter pssword

func (*AlibabaDtTmllcarLeadsinfoAPIRequest) SetShopCode added in v1.2.0

func (r *AlibabaDtTmllcarLeadsinfoAPIRequest) SetShopCode(_shopCode string) error

SetShopCode is ShopCode Setter shopcode

type AlibabaDtTmllcarLeadsinfoAPIResponse

type AlibabaDtTmllcarLeadsinfoAPIResponse struct {
	model.CommonResponse
	AlibabaDtTmllcarLeadsinfoAPIResponseModel
}

AlibabaDtTmllcarLeadsinfoAPIResponse 天猫汽车线索产品潜客数据 API返回值 alibaba.dt.tmllcar.leadsinfo

1. 线索分发是天猫汽车行业流量端最中要的产品,经过前两年的业务和数据端的积累已经对整体业务流程和方案有了清晰的思路;目前数据段已经产沉淀2000W汽车潜客数据,通过运营尝试得到了较好的效果,今年将通过与商家端合作(大搜车-卖车管家)完成潜客分发-商家报价-潜客触达-线索分发-线下核销等一整个汽车人群运营闭环;这个接口反馈大搜车线下门店周围潜客规模及热门车型数据

type AlibabaDtTmllcarLeadsinfoAPIResponseModel added in v1.2.0

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

AlibabaDtTmllcarLeadsinfoAPIResponseModel is 天猫汽车线索产品潜客数据 成功返回结果

type AlibabaDtTmllcarLeadsinfoResult

type AlibabaDtTmllcarLeadsinfoResult struct {
	// CONTENT
	Content string `json:"content,omitempty" xml:"content,omitempty"`
}

AlibabaDtTmllcarLeadsinfoResult 结构体

type AlibabaDtTmllcarLeadsinfoResults

type AlibabaDtTmllcarLeadsinfoResults struct {
	// result
	Results []AlibabaDtTmllcarLeadsinfoResult `json:"results,omitempty" xml:"results>alibaba_dt_tmllcar_leadsinfo_result,omitempty"`
	// successed
	Successed bool `json:"successed,omitempty" xml:"successed,omitempty"`
}

AlibabaDtTmllcarLeadsinfoResults 结构体

type AlibabaDtTmllcarPricevalidateAPIRequest added in v1.2.0

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

AlibabaDtTmllcarPricevalidateAPIRequest 线索报价价格校验 API请求 alibaba.dt.tmllcar.pricevalidate

根据选定的车型和城市,校验汽车价格是否通过 入参:车型ID,城市名称,价格 输出:N 校验失败,校验成功不返回值

func NewAlibabaDtTmllcarPricevalidateRequest

func NewAlibabaDtTmllcarPricevalidateRequest() *AlibabaDtTmllcarPricevalidateAPIRequest

NewAlibabaDtTmllcarPricevalidateRequest 初始化AlibabaDtTmllcarPricevalidateAPIRequest对象

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDtTmllcarPricevalidateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetAppName added in v1.2.0

GetAppName AppName Getter

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetCityName added in v1.2.0

GetCityName CityName Getter

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetModelName added in v1.2.0

GetModelName ModelName Getter

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetPassword added in v1.2.0

GetPassword Password Getter

func (AlibabaDtTmllcarPricevalidateAPIRequest) GetPrice added in v1.2.0

GetPrice Price Getter

func (*AlibabaDtTmllcarPricevalidateAPIRequest) SetAppName added in v1.2.0

func (r *AlibabaDtTmllcarPricevalidateAPIRequest) SetAppName(_appName string) error

SetAppName is AppName Setter tt

func (*AlibabaDtTmllcarPricevalidateAPIRequest) SetCityName added in v1.2.0

func (r *AlibabaDtTmllcarPricevalidateAPIRequest) SetCityName(_cityName string) error

SetCityName is CityName Setter tt

func (*AlibabaDtTmllcarPricevalidateAPIRequest) SetModelName added in v1.2.0

func (r *AlibabaDtTmllcarPricevalidateAPIRequest) SetModelName(_modelName string) error

SetModelName is ModelName Setter tt

func (*AlibabaDtTmllcarPricevalidateAPIRequest) SetName added in v1.2.0

SetName is Name Setter tt

func (*AlibabaDtTmllcarPricevalidateAPIRequest) SetPassword added in v1.2.0

func (r *AlibabaDtTmllcarPricevalidateAPIRequest) SetPassword(_password string) error

SetPassword is Password Setter tt

func (*AlibabaDtTmllcarPricevalidateAPIRequest) SetPrice added in v1.2.0

SetPrice is Price Setter tt

type AlibabaDtTmllcarPricevalidateAPIResponse

type AlibabaDtTmllcarPricevalidateAPIResponse struct {
	model.CommonResponse
	AlibabaDtTmllcarPricevalidateAPIResponseModel
}

AlibabaDtTmllcarPricevalidateAPIResponse 线索报价价格校验 API返回值 alibaba.dt.tmllcar.pricevalidate

根据选定的车型和城市,校验汽车价格是否通过 入参:车型ID,城市名称,价格 输出:N 校验失败,校验成功不返回值

type AlibabaDtTmllcarPricevalidateAPIResponseModel added in v1.2.0

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

AlibabaDtTmllcarPricevalidateAPIResponseModel is 线索报价价格校验 成功返回结果

type AlibabaDtTmllcarPricevalidateResult

type AlibabaDtTmllcarPricevalidateResult struct {
	// RESULT
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaDtTmllcarPricevalidateResult 结构体

type AlibabaDtTmllcarPricevalidateResults

type AlibabaDtTmllcarPricevalidateResults struct {
	// result
	Results []AlibabaDtTmllcarPricevalidateResult `json:"results,omitempty" xml:"results>alibaba_dt_tmllcar_pricevalidate_result,omitempty"`
}

AlibabaDtTmllcarPricevalidateResults 结构体

type AlibabaNrsItemPricetagRecognizeAPIRequest added in v1.2.0

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

AlibabaNrsItemPricetagRecognizeAPIRequest 价签识别 API请求 alibaba.nrs.item.pricetag.recognize

商品价签识别,用于识别RT上传的竞品分析照片,返回价签内容

func NewAlibabaNrsItemPricetagRecognizeRequest

func NewAlibabaNrsItemPricetagRecognizeRequest() *AlibabaNrsItemPricetagRecognizeAPIRequest

NewAlibabaNrsItemPricetagRecognizeRequest 初始化AlibabaNrsItemPricetagRecognizeAPIRequest对象

func (AlibabaNrsItemPricetagRecognizeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaNrsItemPricetagRecognizeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaNrsItemPricetagRecognizeAPIRequest) GetImgByteArr added in v1.2.0

GetImgByteArr ImgByteArr Getter

func (AlibabaNrsItemPricetagRecognizeAPIRequest) GetPriceTagParam added in v1.2.0

GetPriceTagParam PriceTagParam Getter

func (*AlibabaNrsItemPricetagRecognizeAPIRequest) SetImgByteArr added in v1.2.0

func (r *AlibabaNrsItemPricetagRecognizeAPIRequest) SetImgByteArr(_imgByteArr *model.File) error

SetImgByteArr is ImgByteArr Setter 图片数据

func (*AlibabaNrsItemPricetagRecognizeAPIRequest) SetPriceTagParam added in v1.2.0

func (r *AlibabaNrsItemPricetagRecognizeAPIRequest) SetPriceTagParam(_priceTagParam *PriceTagReqParam) error

SetPriceTagParam is PriceTagParam Setter 价签识别参数

type AlibabaNrsItemPricetagRecognizeAPIResponse

type AlibabaNrsItemPricetagRecognizeAPIResponse struct {
	model.CommonResponse
	AlibabaNrsItemPricetagRecognizeAPIResponseModel
}

AlibabaNrsItemPricetagRecognizeAPIResponse 价签识别 API返回值 alibaba.nrs.item.pricetag.recognize

商品价签识别,用于识别RT上传的竞品分析照片,返回价签内容

type AlibabaNrsItemPricetagRecognizeAPIResponseModel added in v1.2.0

type AlibabaNrsItemPricetagRecognizeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_nrs_item_pricetag_recognize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参
	NrsResult *NrsResult `json:"nrs_result,omitempty" xml:"nrs_result,omitempty"`
}

AlibabaNrsItemPricetagRecognizeAPIResponseModel is 价签识别 成功返回结果

type AlibabaNrsItemRtdataBackflowAPIRequest added in v1.2.0

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

AlibabaNrsItemRtdataBackflowAPIRequest RT竞价数据回流 API请求 alibaba.nrs.item.rtdata.backflow

回流竞品价格数据,用与后续OCR识别价签数据,做精确化数据纠正

func NewAlibabaNrsItemRtdataBackflowRequest

func NewAlibabaNrsItemRtdataBackflowRequest() *AlibabaNrsItemRtdataBackflowAPIRequest

NewAlibabaNrsItemRtdataBackflowRequest 初始化AlibabaNrsItemRtdataBackflowAPIRequest对象

func (AlibabaNrsItemRtdataBackflowAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaNrsItemRtdataBackflowAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaNrsItemRtdataBackflowAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaNrsItemRtdataBackflowAPIRequest) GetRtItemPriceTagBackParam added in v1.2.0

func (r AlibabaNrsItemRtdataBackflowAPIRequest) GetRtItemPriceTagBackParam() *RtItemPriceTagBackParam

GetRtItemPriceTagBackParam RtItemPriceTagBackParam Getter

func (*AlibabaNrsItemRtdataBackflowAPIRequest) SetRtItemPriceTagBackParam added in v1.2.0

func (r *AlibabaNrsItemRtdataBackflowAPIRequest) SetRtItemPriceTagBackParam(_rtItemPriceTagBackParam *RtItemPriceTagBackParam) error

SetRtItemPriceTagBackParam is RtItemPriceTagBackParam Setter 入参

type AlibabaNrsItemRtdataBackflowAPIResponse

type AlibabaNrsItemRtdataBackflowAPIResponse struct {
	model.CommonResponse
	AlibabaNrsItemRtdataBackflowAPIResponseModel
}

AlibabaNrsItemRtdataBackflowAPIResponse RT竞价数据回流 API返回值 alibaba.nrs.item.rtdata.backflow

回流竞品价格数据,用与后续OCR识别价签数据,做精确化数据纠正

type AlibabaNrsItemRtdataBackflowAPIResponseModel added in v1.2.0

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

AlibabaNrsItemRtdataBackflowAPIResponseModel is RT竞价数据回流 成功返回结果

type BigDecimal

type BigDecimal struct {
}

BigDecimal 结构体

type NrsResult

type NrsResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 返回数据
	Data *RecongnizeItemInfo `json:"data,omitempty" xml:"data,omitempty"`
	// 接口调用标志
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

NrsResult 结构体

type PriceTagReqParam

type PriceTagReqParam struct {
	// 图片名称,不能重复
	ObjKeyName string `json:"obj_key_name,omitempty" xml:"obj_key_name,omitempty"`
	// 业务编码
	BusiCode string `json:"busi_code,omitempty" xml:"busi_code,omitempty"`
	// 业务来源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 条码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 扩展信息
	ExtendInfoMap string `json:"extend_info_map,omitempty" xml:"extend_info_map,omitempty"`
}

PriceTagReqParam 结构体

type RecongnizeItemInfo

type RecongnizeItemInfo struct {
	// 原产地
	OriginPlace string `json:"origin_place,omitempty" xml:"origin_place,omitempty"`
	// 扩展信息
	ExtMap string `json:"ext_map,omitempty" xml:"ext_map,omitempty"`
	// 优惠结束时间
	PromotionEndTime string `json:"promotion_end_time,omitempty" xml:"promotion_end_time,omitempty"`
	// 优惠开始时间
	PromotionStartTime string `json:"promotion_start_time,omitempty" xml:"promotion_start_time,omitempty"`
	// 规格描述
	SpecDesc string `json:"spec_desc,omitempty" xml:"spec_desc,omitempty"`
	// rt货号
	RtItemNo string `json:"rt_item_no,omitempty" xml:"rt_item_no,omitempty"`
	// 优惠描述
	PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"`
	// 品牌
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 品名
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 条码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 流水号
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,omitempty"`
	// 促销类型
	PromotionType int64 `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 促销价
	PromotionPrice int64 `json:"promotion_price,omitempty" xml:"promotion_price,omitempty"`
	// 销售价
	SalePrice int64 `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
	// 是否促销中
	InPromotion bool `json:"in_promotion,omitempty" xml:"in_promotion,omitempty"`
}

RecongnizeItemInfo 结构体

type RtItemPriceTagBackParam

type RtItemPriceTagBackParam struct {
	// 数据列表
	PriceTagParamList []RtItemResearchPriceParam `json:"price_tag_param_list,omitempty" xml:"price_tag_param_list>rt_item_research_price_param,omitempty"`
	// 业务编码
	BusiCode string `json:"busi_code,omitempty" xml:"busi_code,omitempty"`
	// 业务来源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
}

RtItemPriceTagBackParam 结构体

type RtItemResearchPriceParam

type RtItemResearchPriceParam struct {
	// 流水号
	SerialNo string `json:"serial_no,omitempty" xml:"serial_no,omitempty"`
	// 业务来源
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 扩展字段
	ExtMap string `json:"ext_map,omitempty" xml:"ext_map,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 区域名称
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 原产地
	OriginPlace string `json:"origin_place,omitempty" xml:"origin_place,omitempty"`
	// 优惠结束时间
	PromotionEndTime string `json:"promotion_end_time,omitempty" xml:"promotion_end_time,omitempty"`
	// 优惠开始时间
	PromotionStartTime string `json:"promotion_start_time,omitempty" xml:"promotion_start_time,omitempty"`
	// 规格描述
	SpecDesc string `json:"spec_desc,omitempty" xml:"spec_desc,omitempty"`
	// 优惠描述
	PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"`
	// 条码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 品牌
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 品名
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// rt货号
	RtItemNo string `json:"rt_item_no,omitempty" xml:"rt_item_no,omitempty"`
	// 门店Id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 区域id
	AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 优惠类型
	PromotionType int64 `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 是否促销
	InPromotion int64 `json:"in_promotion,omitempty" xml:"in_promotion,omitempty"`
	// 促销价
	PromotionPrice int64 `json:"promotion_price,omitempty" xml:"promotion_price,omitempty"`
	// 正常价格
	SalePrice int64 `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
}

RtItemResearchPriceParam 结构体

Jump to

Keyboard shortcuts

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