Documentation ¶
Overview ¶
Package lifeservice 包含生活服务API相关结构体
Index ¶
- type TaobaoplacestorerelationaddAPIRequest
- func (r TaobaoplacestorerelationaddAPIRequest) GetApiMethodName() string
- func (r TaobaoplacestorerelationaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoplacestorerelationaddAPIRequest) GetOuterId() string
- func (r TaobaoplacestorerelationaddAPIRequest) GetRawParams() model.Params
- func (r TaobaoplacestorerelationaddAPIRequest) GetRelationType() int64
- func (r TaobaoplacestorerelationaddAPIRequest) GetStoreId() int64
- func (r *TaobaoplacestorerelationaddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoplacestorerelationaddAPIRequest) SetRelationType(_relationType int64) error
- func (r *TaobaoplacestorerelationaddAPIRequest) SetStoreId(_storeId int64) error
- type TaobaoplacestorerelationaddAPIResponse
- type TaobaoplacestorerelationaddAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaobaoplacestorerelationaddAPIRequest ¶ added in v1.3.1
type TaobaoplacestorerelationaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoplacestorerelationaddAPIRequest 门店关系新增 API请求 taobao.place.store.relation.add
新增授权用户的门店关系信息
func NewTaobaoplacestorerelationaddRequest ¶ added in v1.3.1
func NewTaobaoplacestorerelationaddRequest() *TaobaoplacestorerelationaddAPIRequest
NewTaobaoplacestorerelationaddRequest 初始化TaobaoplacestorerelationaddAPIRequest对象
func (TaobaoplacestorerelationaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoplacestorerelationaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoplacestorerelationaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoplacestorerelationaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoplacestorerelationaddAPIRequest) GetOuterId ¶ added in v1.3.1
func (r TaobaoplacestorerelationaddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoplacestorerelationaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoplacestorerelationaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoplacestorerelationaddAPIRequest) GetRelationType ¶ added in v1.3.1
func (r TaobaoplacestorerelationaddAPIRequest) GetRelationType() int64
GetRelationType RelationType Getter
func (TaobaoplacestorerelationaddAPIRequest) GetStoreId ¶ added in v1.3.1
func (r TaobaoplacestorerelationaddAPIRequest) GetStoreId() int64
GetStoreId StoreId Getter
func (*TaobaoplacestorerelationaddAPIRequest) SetOuterId ¶ added in v1.3.1
func (r *TaobaoplacestorerelationaddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 关系B的门店ID
func (*TaobaoplacestorerelationaddAPIRequest) SetRelationType ¶ added in v1.3.1
func (r *TaobaoplacestorerelationaddAPIRequest) SetRelationType(_relationType int64) error
SetRelationType is RelationType Setter 关系类型(outer_id是主, store_id是从)
func (*TaobaoplacestorerelationaddAPIRequest) SetStoreId ¶ added in v1.3.1
func (r *TaobaoplacestorerelationaddAPIRequest) SetStoreId(_storeId int64) error
SetStoreId is StoreId Setter 门店ID
type TaobaoplacestorerelationaddAPIResponse ¶ added in v1.3.1
type TaobaoplacestorerelationaddAPIResponse struct { model.CommonResponse TaobaoplacestorerelationaddAPIResponseModel }
TaobaoplacestorerelationaddAPIResponse 门店关系新增 API返回值 taobao.place.store.relation.add
新增授权用户的门店关系信息
type TaobaoplacestorerelationaddAPIResponseModel ¶ added in v1.3.1
type TaobaoplacestorerelationaddAPIResponseModel struct { XMLName xml.Name `xml:"place_store_relation_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果:true成功;false失败 Result int64 `json:"result,omitempty" xml:"result,omitempty"` // 个数 TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"` // 是否失败 Failure bool `json:"failure,omitempty" xml:"failure,omitempty"` }
TaobaoplacestorerelationaddAPIResponseModel is 门店关系新增 成功返回结果