Documentation ¶
Overview ¶
Package jae 包含JAE相关结构体
Index ¶
- type ParamDto
- type RichClientInfo
- type TaobaoAplatformWeakgetAPIRequest
- func (r TaobaoAplatformWeakgetAPIRequest) GetApiMethodName() string
- func (r TaobaoAplatformWeakgetAPIRequest) GetApiParams() url.Values
- func (r TaobaoAplatformWeakgetAPIRequest) GetParamDto() *ParamDto
- func (r TaobaoAplatformWeakgetAPIRequest) GetParamRichClientInfo() *RichClientInfo
- func (r *TaobaoAplatformWeakgetAPIRequest) SetParamDto(_paramDto *ParamDto) error
- func (r *TaobaoAplatformWeakgetAPIRequest) SetParamRichClientInfo(_paramRichClientInfo *RichClientInfo) error
- type TaobaoAplatformWeakgetAPIResponse
- type TaobaoAplatformWeakgetAPIResponseModel
- type TaobaoAplatformWeakgetResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamDto ¶
type ParamDto struct { // 业务参数,json格式字符串 BizParam string `json:"biz_param,omitempty" xml:"biz_param,omitempty"` // 扩展参数 ExtraParam string `json:"extra_param,omitempty" xml:"extra_param,omitempty"` // 区分业务类型及方法 BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` }
ParamDto 结构体
type RichClientInfo ¶
type RichClientInfo struct { // appkey Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"` // 用户昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 经度 Lng string `json:"lng,omitempty" xml:"lng,omitempty"` // 纬度 Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // 设备号 DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"` // 来源ip Ip string `json:"ip,omitempty" xml:"ip,omitempty"` // 用户id BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"` }
RichClientInfo 结构体
type TaobaoAplatformWeakgetAPIRequest ¶ added in v1.2.0
type TaobaoAplatformWeakgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAplatformWeakgetAPIRequest 活动平台弱登录接口 API请求 taobao.aplatform.weakget
无线活动平台的开放接口,提供商品信息等的读操作
func NewTaobaoAplatformWeakgetRequest ¶
func NewTaobaoAplatformWeakgetRequest() *TaobaoAplatformWeakgetAPIRequest
NewTaobaoAplatformWeakgetRequest 初始化TaobaoAplatformWeakgetAPIRequest对象
func (TaobaoAplatformWeakgetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAplatformWeakgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAplatformWeakgetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAplatformWeakgetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAplatformWeakgetAPIRequest) GetParamDto ¶ added in v1.2.0
func (r TaobaoAplatformWeakgetAPIRequest) GetParamDto() *ParamDto
GetParamDto ParamDto Getter
func (TaobaoAplatformWeakgetAPIRequest) GetParamRichClientInfo ¶ added in v1.2.0
func (r TaobaoAplatformWeakgetAPIRequest) GetParamRichClientInfo() *RichClientInfo
GetParamRichClientInfo ParamRichClientInfo Getter
func (*TaobaoAplatformWeakgetAPIRequest) SetParamDto ¶ added in v1.2.0
func (r *TaobaoAplatformWeakgetAPIRequest) SetParamDto(_paramDto *ParamDto) error
SetParamDto is ParamDto Setter 业务自定义参数
func (*TaobaoAplatformWeakgetAPIRequest) SetParamRichClientInfo ¶ added in v1.2.0
func (r *TaobaoAplatformWeakgetAPIRequest) SetParamRichClientInfo(_paramRichClientInfo *RichClientInfo) error
SetParamRichClientInfo is ParamRichClientInfo Setter 客户端自带参数
type TaobaoAplatformWeakgetAPIResponse ¶
type TaobaoAplatformWeakgetAPIResponse struct { model.CommonResponse TaobaoAplatformWeakgetAPIResponseModel }
TaobaoAplatformWeakgetAPIResponse 活动平台弱登录接口 API返回值 taobao.aplatform.weakget
无线活动平台的开放接口,提供商品信息等的读操作
type TaobaoAplatformWeakgetAPIResponseModel ¶ added in v1.2.0
type TaobaoAplatformWeakgetAPIResponseModel struct { XMLName xml.Name `xml:"aplatform_weakget_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoAplatformWeakgetResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoAplatformWeakgetAPIResponseModel is 活动平台弱登录接口 成功返回结果
type TaobaoAplatformWeakgetResult ¶
type TaobaoAplatformWeakgetResult struct { // headers Headers string `json:"headers,omitempty" xml:"headers,omitempty"` // model Model string `json:"model,omitempty" xml:"model,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // bizExtMap BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // httpStatusCode HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoAplatformWeakgetResult 结构体