lbs

package
v1.2.8 Latest Latest
Warning

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

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

Documentation

Overview

Package lbs 包含地动仪相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaobaoLbsMessageUploadAPIRequest added in v1.2.0

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

TaobaoLbsMessageUploadAPIRequest lbs数据采集 API请求 taobao.lbs.message.upload

lbs数据采集

func NewTaobaoLbsMessageUploadRequest

func NewTaobaoLbsMessageUploadRequest() *TaobaoLbsMessageUploadAPIRequest

NewTaobaoLbsMessageUploadRequest 初始化TaobaoLbsMessageUploadAPIRequest对象

func (TaobaoLbsMessageUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoLbsMessageUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLbsMessageUploadAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoLbsMessageUploadAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLbsMessageUploadAPIRequest) GetBody added in v1.2.0

GetBody Body Getter

func (TaobaoLbsMessageUploadAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLbsMessageUploadAPIRequest) GetTopic added in v1.2.0

GetTopic Topic Getter

func (*TaobaoLbsMessageUploadAPIRequest) SetBody added in v1.2.0

func (r *TaobaoLbsMessageUploadAPIRequest) SetBody(_body string) error

SetBody is Body Setter 消息体 json结构

func (*TaobaoLbsMessageUploadAPIRequest) SetTopic added in v1.2.0

func (r *TaobaoLbsMessageUploadAPIRequest) SetTopic(_topic string) error

SetTopic is Topic Setter 消息TOPIC

type TaobaoLbsMessageUploadAPIResponse

type TaobaoLbsMessageUploadAPIResponse struct {
	model.CommonResponse
	TaobaoLbsMessageUploadAPIResponseModel
}

TaobaoLbsMessageUploadAPIResponse lbs数据采集 API返回值 taobao.lbs.message.upload

lbs数据采集

type TaobaoLbsMessageUploadAPIResponseModel added in v1.2.0

type TaobaoLbsMessageUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"lbs_message_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// subCode
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// subMsg
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// result
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoLbsMessageUploadAPIResponseModel is lbs数据采集 成功返回结果

Jump to

Keyboard shortcuts

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