Documentation ¶
Overview ¶
Package jae 包含JAE相关结构体
Index ¶
- type ParamDto
- type RichClientInfo
- type TaobaoaplatformweakgetAPIRequest
- func (r TaobaoaplatformweakgetAPIRequest) GetApiMethodName() string
- func (r TaobaoaplatformweakgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoaplatformweakgetAPIRequest) GetParamDto() *ParamDto
- func (r TaobaoaplatformweakgetAPIRequest) GetParamRichClientInfo() *RichClientInfo
- func (r TaobaoaplatformweakgetAPIRequest) GetRawParams() model.Params
- 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.3.1
type TaobaoaplatformweakgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoaplatformweakgetAPIRequest 活动平台弱登录接口 API请求 taobao.aplatform.weakget
无线活动平台的开放接口,提供商品信息等的读操作
func NewTaobaoaplatformweakgetRequest ¶ added in v1.3.1
func NewTaobaoaplatformweakgetRequest() *TaobaoaplatformweakgetAPIRequest
NewTaobaoaplatformweakgetRequest 初始化TaobaoaplatformweakgetAPIRequest对象
func (TaobaoaplatformweakgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoaplatformweakgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoaplatformweakgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoaplatformweakgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoaplatformweakgetAPIRequest) GetParamDto ¶ added in v1.3.1
func (r TaobaoaplatformweakgetAPIRequest) GetParamDto() *ParamDto
GetParamDto ParamDto Getter
func (TaobaoaplatformweakgetAPIRequest) GetParamRichClientInfo ¶ added in v1.3.1
func (r TaobaoaplatformweakgetAPIRequest) GetParamRichClientInfo() *RichClientInfo
GetParamRichClientInfo ParamRichClientInfo Getter
func (TaobaoaplatformweakgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoaplatformweakgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoaplatformweakgetAPIRequest) SetParamDto ¶ added in v1.3.1
func (r *TaobaoaplatformweakgetAPIRequest) SetParamDto(_paramDto *ParamDto) error
SetParamDto is ParamDto Setter 业务自定义参数
func (*TaobaoaplatformweakgetAPIRequest) SetParamRichClientInfo ¶ added in v1.3.1
func (r *TaobaoaplatformweakgetAPIRequest) SetParamRichClientInfo(_paramRichClientInfo *RichClientInfo) error
SetParamRichClientInfo is ParamRichClientInfo Setter 客户端自带参数
type TaobaoaplatformweakgetAPIResponse ¶ added in v1.3.1
type TaobaoaplatformweakgetAPIResponse struct { model.CommonResponse TaobaoaplatformweakgetAPIResponseModel }
TaobaoaplatformweakgetAPIResponse 活动平台弱登录接口 API返回值 taobao.aplatform.weakget
无线活动平台的开放接口,提供商品信息等的读操作
type TaobaoaplatformweakgetAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 结构体