Documentation
¶
Overview ¶
Package smartstore 包含智慧门店相关结构体
Index ¶
- func ReleaseArea(v *Area)
- func ReleaseHasdevicecodelist(v *Hasdevicecodelist)
- func ReleaseNeeddevicecodelist(v *Needdevicecodelist)
- func ReleaseStorelist(v *Storelist)
- func ReleaseTaobaoIstoreAreasGetAPIRequest(v *TaobaoIstoreAreasGetAPIRequest)
- func ReleaseTaobaoIstoreAreasGetAPIResponse(v *TaobaoIstoreAreasGetAPIResponse)
- func ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIRequest(v *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest)
- func ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIResponse(v *TaobaoSmartstoreDeviceStatusFeedbackAPIResponse)
- func ReleaseTmallPopupstoreActivityDeviceQueryAPIRequest(v *TmallPopupstoreActivityDeviceQueryAPIRequest)
- func ReleaseTmallPopupstoreActivityDeviceQueryAPIResponse(v *TmallPopupstoreActivityDeviceQueryAPIResponse)
- func ReleaseTmallPopupstoreActivityDeviceQueryResult(v *TmallPopupstoreActivityDeviceQueryResult)
- func ReleaseTmallPopupstoreActivityDeviceQueryResultDto(v *TmallPopupstoreActivityDeviceQueryResultDto)
- func ReleaseTmallPopupstoreActivityQueryAPIRequest(v *TmallPopupstoreActivityQueryAPIRequest)
- func ReleaseTmallPopupstoreActivityQueryAPIResponse(v *TmallPopupstoreActivityQueryAPIResponse)
- func ReleaseTmallPopupstoreActivityQueryResult(v *TmallPopupstoreActivityQueryResult)
- func ReleaseTmallPopupstoreActivityQueryResultDto(v *TmallPopupstoreActivityQueryResultDto)
- func ReleaseTmallPopupstoreItemDiscountPriceAPIRequest(v *TmallPopupstoreItemDiscountPriceAPIRequest)
- func ReleaseTmallPopupstoreItemDiscountPriceAPIResponse(v *TmallPopupstoreItemDiscountPriceAPIResponse)
- func ReleaseTmallPopupstoreItemDiscountPriceResultDto(v *TmallPopupstoreItemDiscountPriceResultDto)
- type Area
- type Hasdevicecodelist
- type Needdevicecodelist
- type Storelist
- type TaobaoIstoreAreasGetAPIRequest
- func (r TaobaoIstoreAreasGetAPIRequest) GetApiMethodName() string
- func (r TaobaoIstoreAreasGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoIstoreAreasGetAPIRequest) GetFields() string
- func (r TaobaoIstoreAreasGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoIstoreAreasGetAPIRequest) Reset()
- func (r *TaobaoIstoreAreasGetAPIRequest) SetFields(_fields string) error
- type TaobaoIstoreAreasGetAPIResponse
- type TaobaoIstoreAreasGetAPIResponseModel
- type TaobaoSmartstoreDeviceStatusFeedbackAPIRequest
- func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetApiMethodName() string
- func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetDeviceCode() string
- func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetRawParams() model.Params
- func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetStatus() string
- func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetStatusTime() string
- func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) Reset()
- func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetStatus(_status string) error
- func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetStatusTime(_statusTime string) error
- type TaobaoSmartstoreDeviceStatusFeedbackAPIResponse
- type TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel
- type TmallPopupstoreActivityDeviceQueryAPIRequest
- func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetActivityId() int64
- func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetApiMethodName() string
- func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetApiParams(params url.Values)
- func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetRawParams() model.Params
- func (r *TmallPopupstoreActivityDeviceQueryAPIRequest) Reset()
- func (r *TmallPopupstoreActivityDeviceQueryAPIRequest) SetActivityId(_activityId int64) error
- type TmallPopupstoreActivityDeviceQueryAPIResponse
- type TmallPopupstoreActivityDeviceQueryAPIResponseModel
- type TmallPopupstoreActivityDeviceQueryResult
- type TmallPopupstoreActivityDeviceQueryResultDto
- type TmallPopupstoreActivityQueryAPIRequest
- func (r TmallPopupstoreActivityQueryAPIRequest) GetApiMethodName() string
- func (r TmallPopupstoreActivityQueryAPIRequest) GetApiParams(params url.Values)
- func (r TmallPopupstoreActivityQueryAPIRequest) GetEndDate() string
- func (r TmallPopupstoreActivityQueryAPIRequest) GetRawParams() model.Params
- func (r TmallPopupstoreActivityQueryAPIRequest) GetStartDate() string
- func (r *TmallPopupstoreActivityQueryAPIRequest) Reset()
- func (r *TmallPopupstoreActivityQueryAPIRequest) SetEndDate(_endDate string) error
- func (r *TmallPopupstoreActivityQueryAPIRequest) SetStartDate(_startDate string) error
- type TmallPopupstoreActivityQueryAPIResponse
- type TmallPopupstoreActivityQueryAPIResponseModel
- type TmallPopupstoreActivityQueryResult
- type TmallPopupstoreActivityQueryResultDto
- type TmallPopupstoreItemDiscountPriceAPIRequest
- func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetApiMethodName() string
- func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetApiParams(params url.Values)
- func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetItemIds() []string
- func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetRawParams() model.Params
- func (r *TmallPopupstoreItemDiscountPriceAPIRequest) Reset()
- func (r *TmallPopupstoreItemDiscountPriceAPIRequest) SetItemIds(_itemIds []string) error
- type TmallPopupstoreItemDiscountPriceAPIResponse
- type TmallPopupstoreItemDiscountPriceAPIResponseModel
- type TmallPopupstoreItemDiscountPriceResultDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseHasdevicecodelist ¶ added in v1.3.4
func ReleaseHasdevicecodelist(v *Hasdevicecodelist)
ReleaseHasdevicecodelist 释放Hasdevicecodelist
func ReleaseNeeddevicecodelist ¶ added in v1.3.4
func ReleaseNeeddevicecodelist(v *Needdevicecodelist)
ReleaseNeeddevicecodelist 释放Needdevicecodelist
func ReleaseStorelist ¶ added in v1.3.4
func ReleaseStorelist(v *Storelist)
ReleaseStorelist 释放Storelist
func ReleaseTaobaoIstoreAreasGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoIstoreAreasGetAPIRequest(v *TaobaoIstoreAreasGetAPIRequest)
ReleaseTaobaoIstoreAreasGetAPIRequest 将 TaobaoIstoreAreasGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoIstoreAreasGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoIstoreAreasGetAPIResponse(v *TaobaoIstoreAreasGetAPIResponse)
ReleaseTaobaoIstoreAreasGetAPIResponse 将 TaobaoIstoreAreasGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIRequest(v *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest)
ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIRequest 将 TaobaoSmartstoreDeviceStatusFeedbackAPIRequest 放入 sync.Pool
func ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIResponse(v *TaobaoSmartstoreDeviceStatusFeedbackAPIResponse)
ReleaseTaobaoSmartstoreDeviceStatusFeedbackAPIResponse 将 TaobaoSmartstoreDeviceStatusFeedbackAPIResponse 保存到 sync.Pool
func ReleaseTmallPopupstoreActivityDeviceQueryAPIRequest ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityDeviceQueryAPIRequest(v *TmallPopupstoreActivityDeviceQueryAPIRequest)
ReleaseTmallPopupstoreActivityDeviceQueryAPIRequest 将 TmallPopupstoreActivityDeviceQueryAPIRequest 放入 sync.Pool
func ReleaseTmallPopupstoreActivityDeviceQueryAPIResponse ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityDeviceQueryAPIResponse(v *TmallPopupstoreActivityDeviceQueryAPIResponse)
ReleaseTmallPopupstoreActivityDeviceQueryAPIResponse 将 TmallPopupstoreActivityDeviceQueryAPIResponse 保存到 sync.Pool
func ReleaseTmallPopupstoreActivityDeviceQueryResult ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityDeviceQueryResult(v *TmallPopupstoreActivityDeviceQueryResult)
ReleaseTmallPopupstoreActivityDeviceQueryResult 释放TmallPopupstoreActivityDeviceQueryResult
func ReleaseTmallPopupstoreActivityDeviceQueryResultDto ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityDeviceQueryResultDto(v *TmallPopupstoreActivityDeviceQueryResultDto)
ReleaseTmallPopupstoreActivityDeviceQueryResultDto 释放TmallPopupstoreActivityDeviceQueryResultDto
func ReleaseTmallPopupstoreActivityQueryAPIRequest ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityQueryAPIRequest(v *TmallPopupstoreActivityQueryAPIRequest)
ReleaseTmallPopupstoreActivityQueryAPIRequest 将 TmallPopupstoreActivityQueryAPIRequest 放入 sync.Pool
func ReleaseTmallPopupstoreActivityQueryAPIResponse ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityQueryAPIResponse(v *TmallPopupstoreActivityQueryAPIResponse)
ReleaseTmallPopupstoreActivityQueryAPIResponse 将 TmallPopupstoreActivityQueryAPIResponse 保存到 sync.Pool
func ReleaseTmallPopupstoreActivityQueryResult ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityQueryResult(v *TmallPopupstoreActivityQueryResult)
ReleaseTmallPopupstoreActivityQueryResult 释放TmallPopupstoreActivityQueryResult
func ReleaseTmallPopupstoreActivityQueryResultDto ¶ added in v1.3.4
func ReleaseTmallPopupstoreActivityQueryResultDto(v *TmallPopupstoreActivityQueryResultDto)
ReleaseTmallPopupstoreActivityQueryResultDto 释放TmallPopupstoreActivityQueryResultDto
func ReleaseTmallPopupstoreItemDiscountPriceAPIRequest ¶ added in v1.3.4
func ReleaseTmallPopupstoreItemDiscountPriceAPIRequest(v *TmallPopupstoreItemDiscountPriceAPIRequest)
ReleaseTmallPopupstoreItemDiscountPriceAPIRequest 将 TmallPopupstoreItemDiscountPriceAPIRequest 放入 sync.Pool
func ReleaseTmallPopupstoreItemDiscountPriceAPIResponse ¶ added in v1.3.4
func ReleaseTmallPopupstoreItemDiscountPriceAPIResponse(v *TmallPopupstoreItemDiscountPriceAPIResponse)
ReleaseTmallPopupstoreItemDiscountPriceAPIResponse 将 TmallPopupstoreItemDiscountPriceAPIResponse 保存到 sync.Pool
func ReleaseTmallPopupstoreItemDiscountPriceResultDto ¶ added in v1.3.4
func ReleaseTmallPopupstoreItemDiscountPriceResultDto(v *TmallPopupstoreItemDiscountPriceResultDto)
ReleaseTmallPopupstoreItemDiscountPriceResultDto 释放TmallPopupstoreItemDiscountPriceResultDto
Types ¶
type Area ¶
type Area struct { // 地域名称.如北京市,杭州市,西湖区,每一个area_id 都代表了一个具体的地区. Name string `json:"name,omitempty" xml:"name,omitempty"` // 具体一个地区的邮编 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 标准行政区域代码.参考:http://www.stats.gov.cn/tjbz/xzqhdm/t20120105_402777427.htm Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 区域类型.area区域 1:country/国家;2:province/省/自治区/直辖市;3:city/地区(省下面的地级市);4:district/县/市(县级市)/区;abroad:海外. 比如北京市的area_type = 2,朝阳区是北京市的一个区,所以朝阳区的area_type = 4. Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 父节点区域标识.如北京市的area_id是110100,朝阳区是北京市的一个区,所以朝阳区的parent_id就是北京市的area_id. ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` }
Area 结构体
type Hasdevicecodelist ¶
type Hasdevicecodelist struct { // 设备名称 DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"` // 设备类型 DeviceType string `json:"device_type,omitempty" xml:"device_type,omitempty"` // 设备code DeviceCode string `json:"device_code,omitempty" xml:"device_code,omitempty"` }
Hasdevicecodelist 结构体
func GetHasdevicecodelist ¶ added in v1.3.4
func GetHasdevicecodelist() *Hasdevicecodelist
GetHasdevicecodelist() 从对象池中获取Hasdevicecodelist
type Needdevicecodelist ¶
type Needdevicecodelist struct { // 设备名称 DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"` // 设备类型 DeviceType string `json:"device_type,omitempty" xml:"device_type,omitempty"` }
Needdevicecodelist 结构体
func GetNeeddevicecodelist ¶ added in v1.3.4
func GetNeeddevicecodelist() *Needdevicecodelist
GetNeeddevicecodelist() 从对象池中获取Needdevicecodelist
type Storelist ¶
type Storelist struct { // 需要的设备code列表 NeedDeviceCodeList []Needdevicecodelist `json:"need_device_code_list,omitempty" xml:"need_device_code_list>needdevicecodelist,omitempty"` // 已有的设备code列表 HasDeviceCodeList []Hasdevicecodelist `json:"has_device_code_list,omitempty" xml:"has_device_code_list>hasdevicecodelist,omitempty"` // 商场介绍 MallIntroduce string `json:"mall_introduce,omitempty" xml:"mall_introduce,omitempty"` // 商场所在省份 MallProvince string `json:"mall_province,omitempty" xml:"mall_province,omitempty"` // 门店名称 StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"` // 门店地址 StoreAddress string `json:"store_address,omitempty" xml:"store_address,omitempty"` // 商场地址 MallAddress string `json:"mall_address,omitempty" xml:"mall_address,omitempty"` // 商场所在区 MallArea string `json:"mall_area,omitempty" xml:"mall_area,omitempty"` // 商场所在城市 MallCity string `json:"mall_city,omitempty" xml:"mall_city,omitempty"` // isv appKey AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"` // 商场名称 MallName string `json:"mall_name,omitempty" xml:"mall_name,omitempty"` // 门店id StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"` }
Storelist 结构体
type TaobaoIstoreAreasGetAPIRequest ¶ added in v1.2.0
type TaobaoIstoreAreasGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoIstoreAreasGetAPIRequest 智慧门店区域编码查询 API请求 taobao.istore.areas.get
查询标准地址区域代码信息。可以直接参考最新的行政区域代码: <a href="http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2016/index.html">http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2016/index.html</a>
func GetTaobaoIstoreAreasGetAPIRequest ¶ added in v1.3.4
func GetTaobaoIstoreAreasGetAPIRequest() *TaobaoIstoreAreasGetAPIRequest
GetTaobaoIstoreAreasGetRequest 从 sync.Pool 获取 TaobaoIstoreAreasGetAPIRequest
func NewTaobaoIstoreAreasGetRequest ¶
func NewTaobaoIstoreAreasGetRequest() *TaobaoIstoreAreasGetAPIRequest
NewTaobaoIstoreAreasGetRequest 初始化TaobaoIstoreAreasGetAPIRequest对象
func (TaobaoIstoreAreasGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoIstoreAreasGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoIstoreAreasGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoIstoreAreasGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoIstoreAreasGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoIstoreAreasGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoIstoreAreasGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoIstoreAreasGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoIstoreAreasGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoIstoreAreasGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoIstoreAreasGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoIstoreAreasGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表.可选值:Area 结构中的所有字段;多个字段之间用","分隔.如:id,type,name,parent_id,zip.
type TaobaoIstoreAreasGetAPIResponse ¶
type TaobaoIstoreAreasGetAPIResponse struct { model.CommonResponse TaobaoIstoreAreasGetAPIResponseModel }
TaobaoIstoreAreasGetAPIResponse 智慧门店区域编码查询 API返回值 taobao.istore.areas.get
查询标准地址区域代码信息。可以直接参考最新的行政区域代码: <a href="http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2016/index.html">http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2016/index.html</a>
func GetTaobaoIstoreAreasGetAPIResponse ¶ added in v1.3.4
func GetTaobaoIstoreAreasGetAPIResponse() *TaobaoIstoreAreasGetAPIResponse
GetTaobaoIstoreAreasGetAPIResponse 从 sync.Pool 获取 TaobaoIstoreAreasGetAPIResponse
func (*TaobaoIstoreAreasGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoIstoreAreasGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoIstoreAreasGetAPIResponseModel ¶ added in v1.2.0
type TaobaoIstoreAreasGetAPIResponseModel struct { XMLName xml.Name `xml:"istore_areas_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 地址区域信息列表.返回的Area包含的具体信息为入参fields请求的字段信息 。 Areas []Area `json:"areas,omitempty" xml:"areas>area,omitempty"` }
TaobaoIstoreAreasGetAPIResponseModel is 智慧门店区域编码查询 成功返回结果
func (*TaobaoIstoreAreasGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoIstoreAreasGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSmartstoreDeviceStatusFeedbackAPIRequest ¶ added in v1.2.0
type TaobaoSmartstoreDeviceStatusFeedbackAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSmartstoreDeviceStatusFeedbackAPIRequest 设备在线状态回流 API请求 taobao.smartstore.device.status.feedback
智能硬件设备状态回流
func GetTaobaoSmartstoreDeviceStatusFeedbackAPIRequest ¶ added in v1.3.4
func GetTaobaoSmartstoreDeviceStatusFeedbackAPIRequest() *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest
GetTaobaoSmartstoreDeviceStatusFeedbackRequest 从 sync.Pool 获取 TaobaoSmartstoreDeviceStatusFeedbackAPIRequest
func NewTaobaoSmartstoreDeviceStatusFeedbackRequest ¶
func NewTaobaoSmartstoreDeviceStatusFeedbackRequest() *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest
NewTaobaoSmartstoreDeviceStatusFeedbackRequest 初始化TaobaoSmartstoreDeviceStatusFeedbackAPIRequest对象
func (TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetStatusTime ¶ added in v1.2.0
func (r TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) GetStatusTime() string
GetStatusTime StatusTime Getter
func (*TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetDeviceCode ¶ added in v1.2.0
func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetDeviceCode(_deviceCode string) error
SetDeviceCode is DeviceCode Setter 设备编码
func (*TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter ONLINE_WITH_CONTENT("ONLINE_WITH_CONTENT", "设备在线"), OFFLINE("OFFLINE", "设备断线");
func (*TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetStatusTime ¶ added in v1.2.0
func (r *TaobaoSmartstoreDeviceStatusFeedbackAPIRequest) SetStatusTime(_statusTime string) error
SetStatusTime is StatusTime Setter 当前状态的时间
type TaobaoSmartstoreDeviceStatusFeedbackAPIResponse ¶
type TaobaoSmartstoreDeviceStatusFeedbackAPIResponse struct { model.CommonResponse TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel }
TaobaoSmartstoreDeviceStatusFeedbackAPIResponse 设备在线状态回流 API返回值 taobao.smartstore.device.status.feedback
智能硬件设备状态回流
func GetTaobaoSmartstoreDeviceStatusFeedbackAPIResponse ¶ added in v1.3.4
func GetTaobaoSmartstoreDeviceStatusFeedbackAPIResponse() *TaobaoSmartstoreDeviceStatusFeedbackAPIResponse
GetTaobaoSmartstoreDeviceStatusFeedbackAPIResponse 从 sync.Pool 获取 TaobaoSmartstoreDeviceStatusFeedbackAPIResponse
func (*TaobaoSmartstoreDeviceStatusFeedbackAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSmartstoreDeviceStatusFeedbackAPIResponse) Reset()
Reset 清空结构体
type TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel ¶ added in v1.2.0
type TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel struct { XMLName xml.Name `xml:"smartstore_device_status_feedback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel is 设备在线状态回流 成功返回结果
func (*TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSmartstoreDeviceStatusFeedbackAPIResponseModel) Reset()
Reset 清空结构体
type TmallPopupstoreActivityDeviceQueryAPIRequest ¶ added in v1.2.0
type TmallPopupstoreActivityDeviceQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallPopupstoreActivityDeviceQueryAPIRequest 根据活动id查询活动相关快闪店及设备信息 API请求 tmall.popupstore.activity.device.query
查询某一活动的deviceCode的部署情况
func GetTmallPopupstoreActivityDeviceQueryAPIRequest ¶ added in v1.3.4
func GetTmallPopupstoreActivityDeviceQueryAPIRequest() *TmallPopupstoreActivityDeviceQueryAPIRequest
GetTmallPopupstoreActivityDeviceQueryRequest 从 sync.Pool 获取 TmallPopupstoreActivityDeviceQueryAPIRequest
func NewTmallPopupstoreActivityDeviceQueryRequest ¶
func NewTmallPopupstoreActivityDeviceQueryRequest() *TmallPopupstoreActivityDeviceQueryAPIRequest
NewTmallPopupstoreActivityDeviceQueryRequest 初始化TmallPopupstoreActivityDeviceQueryAPIRequest对象
func (TmallPopupstoreActivityDeviceQueryAPIRequest) GetActivityId ¶ added in v1.2.0
func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetActivityId() int64
GetActivityId ActivityId Getter
func (TmallPopupstoreActivityDeviceQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallPopupstoreActivityDeviceQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallPopupstoreActivityDeviceQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TmallPopupstoreActivityDeviceQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallPopupstoreActivityDeviceQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TmallPopupstoreActivityDeviceQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TmallPopupstoreActivityDeviceQueryAPIRequest) SetActivityId ¶ added in v1.2.0
func (r *TmallPopupstoreActivityDeviceQueryAPIRequest) SetActivityId(_activityId int64) error
SetActivityId is ActivityId Setter ISV的活动ID
type TmallPopupstoreActivityDeviceQueryAPIResponse ¶
type TmallPopupstoreActivityDeviceQueryAPIResponse struct { model.CommonResponse TmallPopupstoreActivityDeviceQueryAPIResponseModel }
TmallPopupstoreActivityDeviceQueryAPIResponse 根据活动id查询活动相关快闪店及设备信息 API返回值 tmall.popupstore.activity.device.query
查询某一活动的deviceCode的部署情况
func GetTmallPopupstoreActivityDeviceQueryAPIResponse ¶ added in v1.3.4
func GetTmallPopupstoreActivityDeviceQueryAPIResponse() *TmallPopupstoreActivityDeviceQueryAPIResponse
GetTmallPopupstoreActivityDeviceQueryAPIResponse 从 sync.Pool 获取 TmallPopupstoreActivityDeviceQueryAPIResponse
func (*TmallPopupstoreActivityDeviceQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TmallPopupstoreActivityDeviceQueryAPIResponse) Reset()
Reset 清空结构体
type TmallPopupstoreActivityDeviceQueryAPIResponseModel ¶ added in v1.2.0
type TmallPopupstoreActivityDeviceQueryAPIResponseModel struct { XMLName xml.Name `xml:"tmall_popupstore_activity_device_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 出参对象 ResultDto *TmallPopupstoreActivityDeviceQueryResultDto `json:"result_dto,omitempty" xml:"result_dto,omitempty"` }
TmallPopupstoreActivityDeviceQueryAPIResponseModel is 根据活动id查询活动相关快闪店及设备信息 成功返回结果
func (*TmallPopupstoreActivityDeviceQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TmallPopupstoreActivityDeviceQueryAPIResponseModel) Reset()
Reset 清空结构体
type TmallPopupstoreActivityDeviceQueryResult ¶
type TmallPopupstoreActivityDeviceQueryResult struct { // 门店列表 StoreList []Storelist `json:"store_list,omitempty" xml:"store_list>storelist,omitempty"` // 参与活动的品牌名,逗号分割 SellerNames string `json:"seller_names,omitempty" xml:"seller_names,omitempty"` // 活动结束时间 ActivityEndTime string `json:"activity_end_time,omitempty" xml:"activity_end_time,omitempty"` // 活动名称 ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"` // 活动开始时间 ActivityStartTime string `json:"activity_start_time,omitempty" xml:"activity_start_time,omitempty"` // 活动状态 ActivityStatus int64 `json:"activity_status,omitempty" xml:"activity_status,omitempty"` }
TmallPopupstoreActivityDeviceQueryResult 结构体
func GetTmallPopupstoreActivityDeviceQueryResult ¶ added in v1.3.4
func GetTmallPopupstoreActivityDeviceQueryResult() *TmallPopupstoreActivityDeviceQueryResult
GetTmallPopupstoreActivityDeviceQueryResult() 从对象池中获取TmallPopupstoreActivityDeviceQueryResult
type TmallPopupstoreActivityDeviceQueryResultDto ¶
type TmallPopupstoreActivityDeviceQueryResultDto struct { // 结果code Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误msg Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 结果数据条数 Total int64 `json:"total,omitempty" xml:"total,omitempty"` // 返回结果 Result *TmallPopupstoreActivityDeviceQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
TmallPopupstoreActivityDeviceQueryResultDto 结构体
func GetTmallPopupstoreActivityDeviceQueryResultDto ¶ added in v1.3.4
func GetTmallPopupstoreActivityDeviceQueryResultDto() *TmallPopupstoreActivityDeviceQueryResultDto
GetTmallPopupstoreActivityDeviceQueryResultDto() 从对象池中获取TmallPopupstoreActivityDeviceQueryResultDto
type TmallPopupstoreActivityQueryAPIRequest ¶ added in v1.2.0
type TmallPopupstoreActivityQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallPopupstoreActivityQueryAPIRequest 查询某段时间内的快闪活动列表 API请求 tmall.popupstore.activity.query
提供给ISV查询某一时间段内包含指定appKey的活动列表
func GetTmallPopupstoreActivityQueryAPIRequest ¶ added in v1.3.4
func GetTmallPopupstoreActivityQueryAPIRequest() *TmallPopupstoreActivityQueryAPIRequest
GetTmallPopupstoreActivityQueryRequest 从 sync.Pool 获取 TmallPopupstoreActivityQueryAPIRequest
func NewTmallPopupstoreActivityQueryRequest ¶
func NewTmallPopupstoreActivityQueryRequest() *TmallPopupstoreActivityQueryAPIRequest
NewTmallPopupstoreActivityQueryRequest 初始化TmallPopupstoreActivityQueryAPIRequest对象
func (TmallPopupstoreActivityQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallPopupstoreActivityQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallPopupstoreActivityQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallPopupstoreActivityQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallPopupstoreActivityQueryAPIRequest) GetEndDate ¶ added in v1.2.0
func (r TmallPopupstoreActivityQueryAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TmallPopupstoreActivityQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TmallPopupstoreActivityQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmallPopupstoreActivityQueryAPIRequest) GetStartDate ¶ added in v1.2.0
func (r TmallPopupstoreActivityQueryAPIRequest) GetStartDate() string
GetStartDate StartDate Getter
func (*TmallPopupstoreActivityQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TmallPopupstoreActivityQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TmallPopupstoreActivityQueryAPIRequest) SetEndDate ¶ added in v1.2.0
func (r *TmallPopupstoreActivityQueryAPIRequest) SetEndDate(_endDate string) error
SetEndDate is EndDate Setter 查询结束时间,yyyy-MM-dd
func (*TmallPopupstoreActivityQueryAPIRequest) SetStartDate ¶ added in v1.2.0
func (r *TmallPopupstoreActivityQueryAPIRequest) SetStartDate(_startDate string) error
SetStartDate is StartDate Setter 查询开始时间,yyyy-MM-dd
type TmallPopupstoreActivityQueryAPIResponse ¶
type TmallPopupstoreActivityQueryAPIResponse struct { model.CommonResponse TmallPopupstoreActivityQueryAPIResponseModel }
TmallPopupstoreActivityQueryAPIResponse 查询某段时间内的快闪活动列表 API返回值 tmall.popupstore.activity.query
提供给ISV查询某一时间段内包含指定appKey的活动列表
func GetTmallPopupstoreActivityQueryAPIResponse ¶ added in v1.3.4
func GetTmallPopupstoreActivityQueryAPIResponse() *TmallPopupstoreActivityQueryAPIResponse
GetTmallPopupstoreActivityQueryAPIResponse 从 sync.Pool 获取 TmallPopupstoreActivityQueryAPIResponse
func (*TmallPopupstoreActivityQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TmallPopupstoreActivityQueryAPIResponse) Reset()
Reset 清空结构体
type TmallPopupstoreActivityQueryAPIResponseModel ¶ added in v1.2.0
type TmallPopupstoreActivityQueryAPIResponseModel struct { XMLName xml.Name `xml:"tmall_popupstore_activity_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 出参对象 ResultDto *TmallPopupstoreActivityQueryResultDto `json:"result_dto,omitempty" xml:"result_dto,omitempty"` }
TmallPopupstoreActivityQueryAPIResponseModel is 查询某段时间内的快闪活动列表 成功返回结果
func (*TmallPopupstoreActivityQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TmallPopupstoreActivityQueryAPIResponseModel) Reset()
Reset 清空结构体
type TmallPopupstoreActivityQueryResult ¶
type TmallPopupstoreActivityQueryResult struct { // 活动结束时间 ActivityEndTime string `json:"activity_end_time,omitempty" xml:"activity_end_time,omitempty"` // 活动名称 ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"` // 活动开始时间 ActivityStartTime string `json:"activity_start_time,omitempty" xml:"activity_start_time,omitempty"` // 活动id ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 0:正常状态,-1:删除状态,-2:活动取消 ActivityStatus int64 `json:"activity_status,omitempty" xml:"activity_status,omitempty"` }
TmallPopupstoreActivityQueryResult 结构体
func GetTmallPopupstoreActivityQueryResult ¶ added in v1.3.4
func GetTmallPopupstoreActivityQueryResult() *TmallPopupstoreActivityQueryResult
GetTmallPopupstoreActivityQueryResult() 从对象池中获取TmallPopupstoreActivityQueryResult
type TmallPopupstoreActivityQueryResultDto ¶
type TmallPopupstoreActivityQueryResultDto struct { // 返回结果 ResultList []TmallPopupstoreActivityQueryResult `json:"result_list,omitempty" xml:"result_list>tmall_popupstore_activity_query_result,omitempty"` // 返回code Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误msg Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 返回数据条数 Total int64 `json:"total,omitempty" xml:"total,omitempty"` }
TmallPopupstoreActivityQueryResultDto 结构体
func GetTmallPopupstoreActivityQueryResultDto ¶ added in v1.3.4
func GetTmallPopupstoreActivityQueryResultDto() *TmallPopupstoreActivityQueryResultDto
GetTmallPopupstoreActivityQueryResultDto() 从对象池中获取TmallPopupstoreActivityQueryResultDto
type TmallPopupstoreItemDiscountPriceAPIRequest ¶ added in v1.2.0
type TmallPopupstoreItemDiscountPriceAPIRequest struct { model.Params // contains filtered or unexported fields }
TmallPopupstoreItemDiscountPriceAPIRequest 商品优惠价格查询 API请求 tmall.popupstore.item.discount.price
商品优惠价格查询
func GetTmallPopupstoreItemDiscountPriceAPIRequest ¶ added in v1.3.4
func GetTmallPopupstoreItemDiscountPriceAPIRequest() *TmallPopupstoreItemDiscountPriceAPIRequest
GetTmallPopupstoreItemDiscountPriceRequest 从 sync.Pool 获取 TmallPopupstoreItemDiscountPriceAPIRequest
func NewTmallPopupstoreItemDiscountPriceRequest ¶
func NewTmallPopupstoreItemDiscountPriceRequest() *TmallPopupstoreItemDiscountPriceAPIRequest
NewTmallPopupstoreItemDiscountPriceRequest 初始化TmallPopupstoreItemDiscountPriceAPIRequest对象
func (TmallPopupstoreItemDiscountPriceAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallPopupstoreItemDiscountPriceAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmallPopupstoreItemDiscountPriceAPIRequest) GetItemIds ¶ added in v1.2.0
func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetItemIds() []string
GetItemIds ItemIds Getter
func (TmallPopupstoreItemDiscountPriceAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TmallPopupstoreItemDiscountPriceAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmallPopupstoreItemDiscountPriceAPIRequest) Reset ¶ added in v1.3.4
func (r *TmallPopupstoreItemDiscountPriceAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TmallPopupstoreItemDiscountPriceAPIRequest) SetItemIds ¶ added in v1.2.0
func (r *TmallPopupstoreItemDiscountPriceAPIRequest) SetItemIds(_itemIds []string) error
SetItemIds is ItemIds Setter 商品id列表
type TmallPopupstoreItemDiscountPriceAPIResponse ¶
type TmallPopupstoreItemDiscountPriceAPIResponse struct { model.CommonResponse TmallPopupstoreItemDiscountPriceAPIResponseModel }
TmallPopupstoreItemDiscountPriceAPIResponse 商品优惠价格查询 API返回值 tmall.popupstore.item.discount.price
商品优惠价格查询
func GetTmallPopupstoreItemDiscountPriceAPIResponse ¶ added in v1.3.4
func GetTmallPopupstoreItemDiscountPriceAPIResponse() *TmallPopupstoreItemDiscountPriceAPIResponse
GetTmallPopupstoreItemDiscountPriceAPIResponse 从 sync.Pool 获取 TmallPopupstoreItemDiscountPriceAPIResponse
func (*TmallPopupstoreItemDiscountPriceAPIResponse) Reset ¶ added in v1.3.4
func (m *TmallPopupstoreItemDiscountPriceAPIResponse) Reset()
Reset 清空结构体
type TmallPopupstoreItemDiscountPriceAPIResponseModel ¶ added in v1.2.0
type TmallPopupstoreItemDiscountPriceAPIResponseModel struct { XMLName xml.Name `xml:"tmall_popupstore_item_discount_price_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 出参对象 ResultDto *TmallPopupstoreItemDiscountPriceResultDto `json:"result_dto,omitempty" xml:"result_dto,omitempty"` }
TmallPopupstoreItemDiscountPriceAPIResponseModel is 商品优惠价格查询 成功返回结果
func (*TmallPopupstoreItemDiscountPriceAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TmallPopupstoreItemDiscountPriceAPIResponseModel) Reset()
Reset 清空结构体
type TmallPopupstoreItemDiscountPriceResultDto ¶
type TmallPopupstoreItemDiscountPriceResultDto struct { // 错误码code Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误msg Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 实际结果 ResultList string `json:"result_list,omitempty" xml:"result_list,omitempty"` // 数据条数 Total int64 `json:"total,omitempty" xml:"total,omitempty"` }
TmallPopupstoreItemDiscountPriceResultDto 结构体
func GetTmallPopupstoreItemDiscountPriceResultDto ¶ added in v1.3.4
func GetTmallPopupstoreItemDiscountPriceResultDto() *TmallPopupstoreItemDiscountPriceResultDto
GetTmallPopupstoreItemDiscountPriceResultDto() 从对象池中获取TmallPopupstoreItemDiscountPriceResultDto
Source Files
¶
- Area.go
- Hasdevicecodelist.go
- Needdevicecodelist.go
- Storelist.go
- TaobaoIstoreAreasGetAPIRequest.go
- TaobaoIstoreAreasGetAPIResponse.go
- TaobaoSmartstoreDeviceStatusFeedbackAPIRequest.go
- TaobaoSmartstoreDeviceStatusFeedbackAPIResponse.go
- TmallPopupstoreActivityDeviceQueryAPIRequest.go
- TmallPopupstoreActivityDeviceQueryAPIResponse.go
- TmallPopupstoreActivityDeviceQueryResult.go
- TmallPopupstoreActivityDeviceQueryResultDto.go
- TmallPopupstoreActivityQueryAPIRequest.go
- TmallPopupstoreActivityQueryAPIResponse.go
- TmallPopupstoreActivityQueryResult.go
- TmallPopupstoreActivityQueryResultDto.go
- TmallPopupstoreItemDiscountPriceAPIRequest.go
- TmallPopupstoreItemDiscountPriceAPIResponse.go
- TmallPopupstoreItemDiscountPriceResultDto.go
- doc.go