Documentation
¶
Overview ¶
Package tbk 包含淘宝客API相关结构体
Index ¶
- type AlimmShareInfoDto
- type BybtInfoDto
- type CrowdDto
- type DataMap
- type DwsUnionAppDto
- type Extra
- type FavoritesDetail
- type FavoritesInfo
- type InstanceDto
- type MaifanPromotionDto
- type MaterialDto
- type MiniProgramDto
- type NtbkItem
- type NtbkShop
- type OfferList
- type OrderData
- type OrderPage
- type PageResult
- type PlatformSpecialShareInfoDto
- type PromotionExtend
- type PromotionList
- type PublisherOrderDto
- type PublisherRefundOrderDto
- type PublisherRefundOrderQueryOption
- type RecommendItemList
- type RegisterInfoDto
- type Resultlist
- type RightsInstanceCreateResult
- type RightsSendRelationRptDto
- type RightsSendRptDto
- type ServiceFeeDto
- type SpCampaign
- type StepRateDto
- type StrategyResultList
- type SubsidyDetailDto
- type TaobaotbkactivityinfogetAPIRequest
- func (r TaobaotbkactivityinfogetAPIRequest) GetActivityMaterialId() string
- func (r TaobaotbkactivityinfogetAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkactivityinfogetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkactivityinfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkactivityinfogetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkactivityinfogetAPIRequest) GetRelationId() int64
- func (r TaobaotbkactivityinfogetAPIRequest) GetSubPid() string
- func (r TaobaotbkactivityinfogetAPIRequest) GetUnionId() string
- func (r *TaobaotbkactivityinfogetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
- func (r *TaobaotbkactivityinfogetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkactivityinfogetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaotbkactivityinfogetAPIRequest) SetSubPid(_subPid string) error
- func (r *TaobaotbkactivityinfogetAPIRequest) SetUnionId(_unionId string) error
- type TaobaotbkactivityinfogetAPIResponse
- type TaobaotbkactivityinfogetAPIResponseModel
- type TaobaotbkactivityinfogetData
- type TaobaotbkcartcouponexpireuserqueryAPIRequest
- func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetApiMethodName() string
- func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetPageNum() int64
- func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetPageSize() int64
- func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetRuleId() string
- func (r *TaobaotbkcartcouponexpireuserqueryAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaotbkcartcouponexpireuserqueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkcartcouponexpireuserqueryAPIRequest) SetRuleId(_ruleId string) error
- type TaobaotbkcartcouponexpireuserqueryAPIResponse
- type TaobaotbkcartcouponexpireuserqueryAPIResponseModel
- type TaobaotbkcartcouponexpireuserqueryMapData
- type TaobaotbkcouponconvertAPIRequest
- func (r TaobaotbkcouponconvertAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetApiMethodName() string
- func (r TaobaotbkcouponconvertAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkcouponconvertAPIRequest) GetBizSceneId() string
- func (r TaobaotbkcouponconvertAPIRequest) GetExternalId() string
- func (r TaobaotbkcouponconvertAPIRequest) GetGetTopnRate() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetItemId() string
- func (r TaobaotbkcouponconvertAPIRequest) GetManageItemPubId() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetMiniProgramLink() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetPlatform() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetPromotionType() string
- func (r TaobaotbkcouponconvertAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkcouponconvertAPIRequest) GetRelationId() string
- func (r TaobaotbkcouponconvertAPIRequest) GetSkuId() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetSpecialId() string
- func (r TaobaotbkcouponconvertAPIRequest) GetUcrowdId() int64
- func (r TaobaotbkcouponconvertAPIRequest) GetXid() string
- func (r *TaobaotbkcouponconvertAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetBizSceneId(_bizSceneId string) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetManageItemPubId(_manageItemPubId int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetPromotionType(_promotionType string) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaotbkcouponconvertAPIRequest) SetXid(_xid string) error
- type TaobaotbkcouponconvertAPIResponse
- type TaobaotbkcouponconvertAPIResponseModel
- type TaobaotbkcouponconvertRpcResult
- type TaobaotbkcoupongetAPIRequest
- func (r TaobaotbkcoupongetAPIRequest) GetActivityId() string
- func (r TaobaotbkcoupongetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkcoupongetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkcoupongetAPIRequest) GetItemId() string
- func (r TaobaotbkcoupongetAPIRequest) GetMe() string
- func (r TaobaotbkcoupongetAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkcoupongetAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaotbkcoupongetAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaotbkcoupongetAPIRequest) SetMe(_me string) error
- type TaobaotbkcoupongetAPIResponse
- type TaobaotbkcoupongetAPIResponseModel
- type TaobaotbkcoupongetMapData
- type TaobaotbkdgcpaactivitydetailAPIRequest
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetEventId() int64
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetIndicatorAlias() string
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetQueryType() int64
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetRuntime() string
- func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetStartId() int64
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetEventId(_eventId int64) error
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetIndicatorAlias(_indicatorAlias string) error
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetRuntime(_runtime string) error
- func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetStartId(_startId int64) error
- type TaobaotbkdgcpaactivitydetailAPIResponse
- type TaobaotbkdgcpaactivitydetailAPIResponseModel
- type TaobaotbkdgcpaactivitydetailResult
- type TaobaotbkdgcpaactivitydetailResults
- type TaobaotbkdgcpaactivityreportAPIRequest
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetBizDate() string
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetEventId() int64
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetPid() string
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetQueryType() int64
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgcpaactivityreportAPIRequest) GetRelationId() int64
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetBizDate(_bizDate string) error
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetEventId(_eventId int64) error
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetPid(_pid string) error
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetRelationId(_relationId int64) error
- type TaobaotbkdgcpaactivityreportAPIResponse
- type TaobaotbkdgcpaactivityreportAPIResponseModel
- type TaobaotbkdgcpaactivityreportRpcResult
- type TaobaotbkdgmaterialoptionalAPIRequest
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetBizSceneId() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetCat() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetCityCode() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceType() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceValue() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetEndPrice() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIp() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIsTmall() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetItemloc() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLatitude() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLongitude() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetMaterialId() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPageResultKey() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPlatform() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPromotionType() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetQ() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetRelationId() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetSellerIds() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetSort() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetSpecialId() string
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartDsr() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartPrice() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaotbkdgmaterialoptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetBizSceneId(_bizSceneId string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPromotionType(_promotionType string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaotbkdgmaterialoptionalAPIResponse
- type TaobaotbkdgmaterialoptionalAPIResponseModel
- type TaobaotbkdgmaterialoptionalMapData
- type TaobaotbkdgnewuserordergetAPIRequest
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetActivityId() string
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetEndTime() string
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgnewuserordergetAPIRequest) GetStartTime() string
- func (r *TaobaotbkdgnewuserordergetAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaotbkdgnewuserordergetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgnewuserordergetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaotbkdgnewuserordergetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgnewuserordergetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgnewuserordergetAPIRequest) SetStartTime(_startTime string) error
- type TaobaotbkdgnewuserordergetAPIResponse
- type TaobaotbkdgnewuserordergetAPIResponseModel
- type TaobaotbkdgnewuserordergetData
- type TaobaotbkdgnewuserordergetMapData
- type TaobaotbkdgnewuserordergetResults
- type TaobaotbkdgnewuserordersumAPIRequest
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetActivityId() string
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetSettleMonth() string
- func (r TaobaotbkdgnewuserordersumAPIRequest) GetSiteId() int64
- func (r *TaobaotbkdgnewuserordersumAPIRequest) SetActivityId(_activityId string) error
- func (r *TaobaotbkdgnewuserordersumAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgnewuserordersumAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgnewuserordersumAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgnewuserordersumAPIRequest) SetSettleMonth(_settleMonth string) error
- func (r *TaobaotbkdgnewuserordersumAPIRequest) SetSiteId(_siteId int64) error
- type TaobaotbkdgnewuserordersumAPIResponse
- type TaobaotbkdgnewuserordersumAPIResponseModel
- type TaobaotbkdgnewuserordersumData
- type TaobaotbkdgoptimusmaterialAPIRequest
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetContentId() int64
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetContentSource() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceEncrypt() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceType() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceValue() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetFavoritesId() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetItemId() string
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetMaterialId() int64
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgoptimusmaterialAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetContentId(_contentId int64) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetContentSource(_contentSource string) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetFavoritesId(_favoritesId string) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaotbkdgoptimusmaterialAPIResponse
- type TaobaotbkdgoptimusmaterialAPIResponseModel
- type TaobaotbkdgoptimusmaterialMapData
- type TaobaotbkdgoptimuspromotionAPIRequest
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetPageNum() int64
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetPromotionId() int64
- func (r TaobaotbkdgoptimuspromotionAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetPromotionId(_promotionId int64) error
- type TaobaotbkdgoptimuspromotionAPIResponse
- type TaobaotbkdgoptimuspromotionAPIResponseModel
- type TaobaotbkdgoptimuspromotionMapData
- type TaobaotbkdgpunishordergetAPIRequest
- func (r TaobaotbkdgpunishordergetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
- func (r TaobaotbkdgpunishordergetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgpunishordergetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgpunishordergetAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkdgpunishordergetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
- type TaobaotbkdgpunishordergetAPIResponse
- type TaobaotbkdgpunishordergetAPIResponseModel
- type TaobaotbkdgpunishordergetResult
- type TaobaotbkdgpunishordergetRpcResult
- type TaobaotbkdgtpwdreportgetAPIRequest
- func (r TaobaotbkdgtpwdreportgetAPIRequest) GetAdzoneId() string
- func (r TaobaotbkdgtpwdreportgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgtpwdreportgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgtpwdreportgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgtpwdreportgetAPIRequest) GetTaoPassword() string
- func (r *TaobaotbkdgtpwdreportgetAPIRequest) SetAdzoneId(_adzoneId string) error
- func (r *TaobaotbkdgtpwdreportgetAPIRequest) SetTaoPassword(_taoPassword string) error
- type TaobaotbkdgtpwdreportgetAPIResponse
- type TaobaotbkdgtpwdreportgetAPIResponseModel
- type TaobaotbkdgtpwdreportgetMapData
- type TaobaotbkdgtpwdriskreportAPIRequest
- func (r TaobaotbkdgtpwdriskreportAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgtpwdriskreportAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgtpwdriskreportAPIRequest) GetLimit() int64
- func (r TaobaotbkdgtpwdriskreportAPIRequest) GetOffset() int64
- func (r TaobaotbkdgtpwdriskreportAPIRequest) GetPid() string
- func (r TaobaotbkdgtpwdriskreportAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkdgtpwdriskreportAPIRequest) SetLimit(_limit int64) error
- func (r *TaobaotbkdgtpwdriskreportAPIRequest) SetOffset(_offset int64) error
- func (r *TaobaotbkdgtpwdriskreportAPIRequest) SetPid(_pid string) error
- type TaobaotbkdgtpwdriskreportAPIResponse
- type TaobaotbkdgtpwdriskreportAPIResponseModel
- type TaobaotbkdgtpwdriskreportResult
- type TaobaotbkdgvegassendreportAPIRequest
- func (r TaobaotbkdgvegassendreportAPIRequest) GetActivityCategory() int64
- func (r TaobaotbkdgvegassendreportAPIRequest) GetActivityId() int64
- func (r TaobaotbkdgvegassendreportAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgvegassendreportAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgvegassendreportAPIRequest) GetBizDate() string
- func (r TaobaotbkdgvegassendreportAPIRequest) GetPageNo() int64
- func (r TaobaotbkdgvegassendreportAPIRequest) GetPageSize() int64
- func (r TaobaotbkdgvegassendreportAPIRequest) GetPid() string
- func (r TaobaotbkdgvegassendreportAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgvegassendreportAPIRequest) GetRelationId() int64
- func (r TaobaotbkdgvegassendreportAPIRequest) GetRptDim() string
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetActivityCategory(_activityCategory int64) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetActivityId(_activityId int64) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetBizDate(_bizDate string) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetPid(_pid string) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaotbkdgvegassendreportAPIRequest) SetRptDim(_rptDim string) error
- type TaobaotbkdgvegassendreportAPIResponse
- type TaobaotbkdgvegassendreportAPIResponseModel
- type TaobaotbkdgvegassendreportResult
- type TaobaotbkdgvegassendstatusAPIRequest
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetActivityCategory() int64
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetDeviceType() string
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetDeviceValue() string
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetPid() string
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetRelationId() string
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetSpecialId() string
- func (r TaobaotbkdgvegassendstatusAPIRequest) GetThorBizCode() string
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetActivityCategory(_activityCategory int64) error
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetPid(_pid string) error
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaotbkdgvegassendstatusAPIRequest) SetThorBizCode(_thorBizCode string) error
- type TaobaotbkdgvegassendstatusAPIResponse
- type TaobaotbkdgvegassendstatusAPIResponseModel
- type TaobaotbkdgvegassendstatusData
- type TaobaotbkdgvegassendstatusMapData
- type TaobaotbkdgvegastljcreateAPIRequest
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetCampaignType() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetItemId() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetName() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetPerFace() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetSecurityLevel() int64
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetSecuritySwitch() bool
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetSendEndTime() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetSendStartTime() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetTotalNum() int64
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetUseEndTime() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetUseEndTimeMode() int64
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetUseStartTime() string
- func (r TaobaotbkdgvegastljcreateAPIRequest) GetUserTotalWinNumLimit() int64
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetCampaignType(_campaignType string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetName(_name string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetPerFace(_perFace string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSendEndTime(_sendEndTime string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSendStartTime(_sendStartTime string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetTotalNum(_totalNum int64) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUseEndTime(_useEndTime string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUseStartTime(_useStartTime string) error
- func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
- type TaobaotbkdgvegastljcreateAPIResponse
- type TaobaotbkdgvegastljcreateAPIResponseModel
- type TaobaotbkdgvegastljcreateResult
- type TaobaotbkdgvegastljreportAPIRequest
- func (r TaobaotbkdgvegastljreportAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgvegastljreportAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgvegastljreportAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgvegastljreportAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgvegastljreportAPIRequest) GetRightsId() string
- func (r *TaobaotbkdgvegastljreportAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgvegastljreportAPIRequest) SetRightsId(_rightsId string) error
- type TaobaotbkdgvegastljreportAPIResponse
- type TaobaotbkdgvegastljreportAPIResponseModel
- type TaobaotbkdgvegastljstopAPIRequest
- func (r TaobaotbkdgvegastljstopAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkdgvegastljstopAPIRequest) GetApiMethodName() string
- func (r TaobaotbkdgvegastljstopAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkdgvegastljstopAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkdgvegastljstopAPIRequest) GetRightsId() string
- func (r *TaobaotbkdgvegastljstopAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkdgvegastljstopAPIRequest) SetRightsId(_rightsId string) error
- type TaobaotbkdgvegastljstopAPIResponse
- type TaobaotbkdgvegastljstopAPIResponseModel
- type TaobaotbkiteminfogetAPIRequest
- func (r TaobaotbkiteminfogetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkiteminfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkiteminfogetAPIRequest) GetBizSceneId() string
- func (r TaobaotbkiteminfogetAPIRequest) GetIp() string
- func (r TaobaotbkiteminfogetAPIRequest) GetManageItemPubId() int64
- func (r TaobaotbkiteminfogetAPIRequest) GetNumIids() string
- func (r TaobaotbkiteminfogetAPIRequest) GetPlatform() int64
- func (r TaobaotbkiteminfogetAPIRequest) GetPromotionType() string
- func (r TaobaotbkiteminfogetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkiteminfogetAPIRequest) GetRelationId() string
- func (r *TaobaotbkiteminfogetAPIRequest) SetBizSceneId(_bizSceneId string) error
- func (r *TaobaotbkiteminfogetAPIRequest) SetIp(_ip string) error
- func (r *TaobaotbkiteminfogetAPIRequest) SetManageItemPubId(_manageItemPubId int64) error
- func (r *TaobaotbkiteminfogetAPIRequest) SetNumIids(_numIids string) error
- func (r *TaobaotbkiteminfogetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkiteminfogetAPIRequest) SetPromotionType(_promotionType string) error
- func (r *TaobaotbkiteminfogetAPIRequest) SetRelationId(_relationId string) error
- type TaobaotbkiteminfogetAPIResponse
- type TaobaotbkiteminfogetAPIResponseModel
- type TaobaotbkorderdetailsgetAPIRequest
- func (r TaobaotbkorderdetailsgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkorderdetailsgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkorderdetailsgetAPIRequest) GetEndTime() string
- func (r TaobaotbkorderdetailsgetAPIRequest) GetJumpType() int64
- func (r TaobaotbkorderdetailsgetAPIRequest) GetMemberType() int64
- func (r TaobaotbkorderdetailsgetAPIRequest) GetOrderScene() int64
- func (r TaobaotbkorderdetailsgetAPIRequest) GetPageNo() int64
- func (r TaobaotbkorderdetailsgetAPIRequest) GetPageSize() int64
- func (r TaobaotbkorderdetailsgetAPIRequest) GetPositionIndex() string
- func (r TaobaotbkorderdetailsgetAPIRequest) GetQueryType() int64
- func (r TaobaotbkorderdetailsgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkorderdetailsgetAPIRequest) GetStartTime() string
- func (r TaobaotbkorderdetailsgetAPIRequest) GetTkStatus() int64
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetJumpType(_jumpType int64) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetMemberType(_memberType int64) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetOrderScene(_orderScene int64) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetPositionIndex(_positionIndex string) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaotbkorderdetailsgetAPIRequest) SetTkStatus(_tkStatus int64) error
- type TaobaotbkorderdetailsgetAPIResponse
- type TaobaotbkorderdetailsgetAPIResponseModel
- type TaobaotbkorderrefundgetAPIRequest
- func (r TaobaotbkorderrefundgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkorderrefundgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkorderrefundgetAPIRequest) GetPublisherRefundOrderQueryOption() *PublisherRefundOrderQueryOption
- func (r TaobaotbkorderrefundgetAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkorderrefundgetAPIRequest) SetPublisherRefundOrderQueryOption(_publisherRefundOrderQueryOption *PublisherRefundOrderQueryOption) error
- type TaobaotbkorderrefundgetAPIResponse
- type TaobaotbkorderrefundgetAPIResponseModel
- type TaobaotbkprivilegegetAPIRequest
- func (r TaobaotbkprivilegegetAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkprivilegegetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkprivilegegetAPIRequest) GetBizSceneId() string
- func (r TaobaotbkprivilegegetAPIRequest) GetExternalId() string
- func (r TaobaotbkprivilegegetAPIRequest) GetGetTopnRate() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetItemId() string
- func (r TaobaotbkprivilegegetAPIRequest) GetManageItemPubId() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetMiniProgramLink() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetPlatform() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetPromotionType() string
- func (r TaobaotbkprivilegegetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkprivilegegetAPIRequest) GetRelationId() string
- func (r TaobaotbkprivilegegetAPIRequest) GetSiteId() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetSkuId() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetSpecialId() string
- func (r TaobaotbkprivilegegetAPIRequest) GetUcrowdId() int64
- func (r TaobaotbkprivilegegetAPIRequest) GetXid() string
- func (r *TaobaotbkprivilegegetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetBizSceneId(_bizSceneId string) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetManageItemPubId(_manageItemPubId int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetPromotionType(_promotionType string) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetSkuId(_skuId int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaotbkprivilegegetAPIRequest) SetXid(_xid string) error
- type TaobaotbkprivilegegetAPIResponse
- type TaobaotbkprivilegegetAPIResponseModel
- type TaobaotbkprivilegegetRpcResult
- type TaobaotbkrelationrefundAPIRequest
- func (r TaobaotbkrelationrefundAPIRequest) GetApiMethodName() string
- func (r TaobaotbkrelationrefundAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkrelationrefundAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkrelationrefundAPIRequest) GetSearchOption() *TopApiRefundRptOption
- func (r *TaobaotbkrelationrefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error
- type TaobaotbkrelationrefundAPIResponse
- type TaobaotbkrelationrefundAPIResponseModel
- type TaobaotbkrelationrefundResult
- type TaobaotbkrelationrefundRpcResult
- type TaobaotbkrtaconsumermatchAPIRequest
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetApiMethodName() string
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetDeviceType() string
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetDeviceValue() string
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetOfferList() []OfferList
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetSpecialId() string
- func (r TaobaotbkrtaconsumermatchAPIRequest) GetStrategyIdList() string
- func (r *TaobaotbkrtaconsumermatchAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkrtaconsumermatchAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkrtaconsumermatchAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkrtaconsumermatchAPIRequest) SetOfferList(_offerList []OfferList) error
- func (r *TaobaotbkrtaconsumermatchAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaotbkrtaconsumermatchAPIRequest) SetStrategyIdList(_strategyIdList string) error
- type TaobaotbkrtaconsumermatchAPIResponse
- type TaobaotbkrtaconsumermatchAPIResponseModel
- type TaobaotbkrtaconsumermatchData
- type TaobaotbkscactivityinfogetAPIRequest
- func (r TaobaotbkscactivityinfogetAPIRequest) GetActivityMaterialId() string
- func (r TaobaotbkscactivityinfogetAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkscactivityinfogetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscactivityinfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscactivityinfogetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscactivityinfogetAPIRequest) GetRelationId() int64
- func (r TaobaotbkscactivityinfogetAPIRequest) GetSiteId() int64
- func (r TaobaotbkscactivityinfogetAPIRequest) GetUnionId() string
- func (r *TaobaotbkscactivityinfogetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
- func (r *TaobaotbkscactivityinfogetAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkscactivityinfogetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaotbkscactivityinfogetAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaotbkscactivityinfogetAPIRequest) SetUnionId(_unionId string) error
- type TaobaotbkscactivityinfogetAPIResponse
- type TaobaotbkscactivityinfogetAPIResponseModel
- type TaobaotbkscactivityinfogetData
- type TaobaotbkscadzonecreateAPIRequest
- func (r TaobaotbkscadzonecreateAPIRequest) GetAdzoneName() string
- func (r TaobaotbkscadzonecreateAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscadzonecreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscadzonecreateAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscadzonecreateAPIRequest) GetSiteId() int64
- func (r *TaobaotbkscadzonecreateAPIRequest) SetAdzoneName(_adzoneName string) error
- func (r *TaobaotbkscadzonecreateAPIRequest) SetSiteId(_siteId int64) error
- type TaobaotbkscadzonecreateAPIResponse
- type TaobaotbkscadzonecreateAPIResponseModel
- type TaobaotbkscadzonecreateMapData
- type TaobaotbkscinvitecodegetAPIRequest
- func (r TaobaotbkscinvitecodegetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscinvitecodegetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscinvitecodegetAPIRequest) GetCodeType() int64
- func (r TaobaotbkscinvitecodegetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscinvitecodegetAPIRequest) GetRelationApp() string
- func (r TaobaotbkscinvitecodegetAPIRequest) GetRelationId() int64
- func (r *TaobaotbkscinvitecodegetAPIRequest) SetCodeType(_codeType int64) error
- func (r *TaobaotbkscinvitecodegetAPIRequest) SetRelationApp(_relationApp string) error
- func (r *TaobaotbkscinvitecodegetAPIRequest) SetRelationId(_relationId int64) error
- type TaobaotbkscinvitecodegetAPIResponse
- type TaobaotbkscinvitecodegetAPIResponseModel
- type TaobaotbkscinvitecodegetData
- type TaobaotbkscmaterialoptionalAPIRequest
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetBizSceneId() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetCat() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetCityCode() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetDeviceEncrypt() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetDeviceType() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetDeviceValue() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetEndKaTkRate() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetEndPrice() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetEndTkRate() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetGetTopnRate() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetHasCoupon() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetIncludeGoodRate() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetIncludePayRate30() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetIncludeRfdRate() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetIp() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetIsOverseas() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetIsTmall() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetItemloc() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetLatitude() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetLockRateEndTime() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetLockRateStartTime() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetLongitude() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetMaterialId() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetNeedFreeShipment() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetNeedPrepay() bool
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetNpxLevel() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetPageNo() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetPageResultKey() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetPageSize() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetPlatform() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetPromotionType() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetQ() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetRelationId() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetSellerIds() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetSiteId() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetSort() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetSpecialId() string
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartDsr() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartKaTkRate() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartPrice() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartTkRate() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetUcrowdId() int64
- func (r TaobaotbkscmaterialoptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetBizSceneId(_bizSceneId string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetCat(_cat string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetCityCode(_cityCode string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetEndPrice(_endPrice int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIp(_ip string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetItemloc(_itemloc string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLatitude(_latitude string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLongitude(_longitude string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPromotionType(_promotionType string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetQ(_q string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSellerIds(_sellerIds string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSort(_sort string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSpecialId(_specialId string) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartDsr(_startDsr int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartPrice(_startPrice int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
- func (r *TaobaotbkscmaterialoptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
- type TaobaotbkscmaterialoptionalAPIResponse
- type TaobaotbkscmaterialoptionalAPIResponseModel
- type TaobaotbkscmaterialoptionalMapData
- type TaobaotbkscmembergroupoptionalAPIRequest
- func (r TaobaotbkscmembergroupoptionalAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscmembergroupoptionalAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscmembergroupoptionalAPIRequest) GetMemberGroupId() int64
- func (r TaobaotbkscmembergroupoptionalAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscmembergroupoptionalAPIRequest) GetTbNumIds() string
- func (r *TaobaotbkscmembergroupoptionalAPIRequest) SetMemberGroupId(_memberGroupId int64) error
- func (r *TaobaotbkscmembergroupoptionalAPIRequest) SetTbNumIds(_tbNumIds string) error
- type TaobaotbkscmembergroupoptionalAPIResponse
- type TaobaotbkscmembergroupoptionalAPIResponseModel
- type TaobaotbkscmembergroupoptionalMapData
- type TaobaotbkscoptimusmaterialAPIRequest
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetContentId() int64
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetContentSource() string
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetDeviceEncrypt() string
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetDeviceType() string
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetDeviceValue() string
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetItemId() string
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetMaterialId() int64
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetPageNo() int64
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetPageSize() int64
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscoptimusmaterialAPIRequest) GetSiteId() int64
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetContentId(_contentId int64) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetContentSource(_contentSource string) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetItemId(_itemId string) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetMaterialId(_materialId int64) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkscoptimusmaterialAPIRequest) SetSiteId(_siteId int64) error
- type TaobaotbkscoptimusmaterialAPIResponse
- type TaobaotbkscoptimusmaterialAPIResponseModel
- type TaobaotbkscoptimusmaterialMapData
- type TaobaotbkscoptimuspromotionAPIRequest
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetPageNum() int64
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetPageSize() int64
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetPromotionId() int64
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscoptimuspromotionAPIRequest) GetSiteId() int64
- func (r *TaobaotbkscoptimuspromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkscoptimuspromotionAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaotbkscoptimuspromotionAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkscoptimuspromotionAPIRequest) SetPromotionId(_promotionId int64) error
- func (r *TaobaotbkscoptimuspromotionAPIRequest) SetSiteId(_siteId int64) error
- type TaobaotbkscoptimuspromotionAPIResponse
- type TaobaotbkscoptimuspromotionAPIResponseModel
- type TaobaotbkscoptimuspromotionMapData
- type TaobaotbkscorderdetailsgetAPIRequest
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetEndTime() string
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetJumpType() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetMemberGroupId() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetMemberType() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetOrderScene() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetPageNo() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetPageSize() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetPositionIndex() string
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetQueryType() int64
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetStartTime() string
- func (r TaobaotbkscorderdetailsgetAPIRequest) GetTkStatus() int64
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetJumpType(_jumpType int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetMemberGroupId(_memberGroupId int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetMemberType(_memberType int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetOrderScene(_orderScene int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetPositionIndex(_positionIndex string) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetQueryType(_queryType int64) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetStartTime(_startTime string) error
- func (r *TaobaotbkscorderdetailsgetAPIRequest) SetTkStatus(_tkStatus int64) error
- type TaobaotbkscorderdetailsgetAPIResponse
- type TaobaotbkscorderdetailsgetAPIResponseModel
- type TaobaotbkscpublisherinfogetAPIRequest
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetExternalId() string
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetExternalType() int64
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetInfoType() int64
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetPageNo() int64
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetPageSize() int64
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetRelationApp() string
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetRelationId() int64
- func (r TaobaotbkscpublisherinfogetAPIRequest) GetSpecialId() string
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetExternalType(_externalType int64) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetInfoType(_infoType int64) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetRelationApp(_relationApp string) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaotbkscpublisherinfogetAPIRequest) SetSpecialId(_specialId string) error
- type TaobaotbkscpublisherinfogetAPIResponse
- type TaobaotbkscpublisherinfogetAPIResponseModel
- type TaobaotbkscpublisherinfogetData
- type TaobaotbkscpublisherinfogetMapData
- type TaobaotbkscpublisherinfosaveAPIRequest
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetInfoType() int64
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetInviterCode() string
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetNote() string
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetOfflineScene() string
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetOnlineScene() string
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetRegisterInfo() string
- func (r TaobaotbkscpublisherinfosaveAPIRequest) GetRelationFrom() string
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetInfoType(_infoType int64) error
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetInviterCode(_inviterCode string) error
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetNote(_note string) error
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetOfflineScene(_offlineScene string) error
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetOnlineScene(_onlineScene string) error
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetRegisterInfo(_registerInfo string) error
- func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetRelationFrom(_relationFrom string) error
- type TaobaotbkscpublisherinfosaveAPIResponse
- type TaobaotbkscpublisherinfosaveAPIResponseModel
- type TaobaotbkscpublisherinfosaveData
- type TaobaotbkscpunishordergetAPIRequest
- func (r TaobaotbkscpunishordergetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
- func (r TaobaotbkscpunishordergetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscpunishordergetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscpunishordergetAPIRequest) GetRawParams() model.Params
- func (r *TaobaotbkscpunishordergetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
- type TaobaotbkscpunishordergetAPIResponse
- type TaobaotbkscpunishordergetAPIResponseModel
- type TaobaotbkscpunishordergetResult
- type TaobaotbkscpunishordergetRpcResult
- type TaobaotbkscrelationrecordAPIRequest
- func (r TaobaotbkscrelationrecordAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscrelationrecordAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscrelationrecordAPIRequest) GetExternalId() string
- func (r TaobaotbkscrelationrecordAPIRequest) GetExternalType() int64
- func (r TaobaotbkscrelationrecordAPIRequest) GetOpType() int64
- func (r TaobaotbkscrelationrecordAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscrelationrecordAPIRequest) GetRedirectUrl() string
- func (r TaobaotbkscrelationrecordAPIRequest) GetUcrowdId() int64
- func (r *TaobaotbkscrelationrecordAPIRequest) SetExternalId(_externalId string) error
- func (r *TaobaotbkscrelationrecordAPIRequest) SetExternalType(_externalType int64) error
- func (r *TaobaotbkscrelationrecordAPIRequest) SetOpType(_opType int64) error
- func (r *TaobaotbkscrelationrecordAPIRequest) SetRedirectUrl(_redirectUrl string) error
- func (r *TaobaotbkscrelationrecordAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaotbkscrelationrecordAPIResponse
- type TaobaotbkscrelationrecordAPIResponseModel
- type TaobaotbkscrelationrecordMapData
- type TaobaotbkscrelationrefundAPIRequest
- func (r TaobaotbkscrelationrefundAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscrelationrefundAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscrelationrefundAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscrelationrefundAPIRequest) GetSearchOption() *TopApiRefundRptOption
- func (r *TaobaotbkscrelationrefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error
- type TaobaotbkscrelationrefundAPIResponse
- type TaobaotbkscrelationrefundAPIResponseModel
- type TaobaotbkscrelationrefundResult
- type TaobaotbkscrelationrefundRpcResult
- type TaobaotbkscshopconvertAPIRequest
- func (r TaobaotbkscshopconvertAPIRequest) GetAdzoneId() int64
- func (r TaobaotbkscshopconvertAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscshopconvertAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscshopconvertAPIRequest) GetFields() string
- func (r TaobaotbkscshopconvertAPIRequest) GetPlatform() int64
- func (r TaobaotbkscshopconvertAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscshopconvertAPIRequest) GetSiteId() int64
- func (r TaobaotbkscshopconvertAPIRequest) GetUnid() string
- func (r TaobaotbkscshopconvertAPIRequest) GetUserIds() string
- func (r *TaobaotbkscshopconvertAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbkscshopconvertAPIRequest) SetFields(_fields string) error
- func (r *TaobaotbkscshopconvertAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkscshopconvertAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaotbkscshopconvertAPIRequest) SetUnid(_unid string) error
- func (r *TaobaotbkscshopconvertAPIRequest) SetUserIds(_userIds string) error
- type TaobaotbkscshopconvertAPIResponse
- type TaobaotbkscshopconvertAPIResponseModel
- type TaobaotbksctpwdconvertAPIRequest
- func (r TaobaotbksctpwdconvertAPIRequest) GetAdzoneId() int64
- func (r TaobaotbksctpwdconvertAPIRequest) GetApiMethodName() string
- func (r TaobaotbksctpwdconvertAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbksctpwdconvertAPIRequest) GetDx() string
- func (r TaobaotbksctpwdconvertAPIRequest) GetPasswordContent() string
- func (r TaobaotbksctpwdconvertAPIRequest) GetRawParams() model.Params
- func (r TaobaotbksctpwdconvertAPIRequest) GetRelationId() string
- func (r TaobaotbksctpwdconvertAPIRequest) GetSiteId() int64
- func (r TaobaotbksctpwdconvertAPIRequest) GetUcrowdId() int64
- func (r *TaobaotbksctpwdconvertAPIRequest) SetAdzoneId(_adzoneId int64) error
- func (r *TaobaotbksctpwdconvertAPIRequest) SetDx(_dx string) error
- func (r *TaobaotbksctpwdconvertAPIRequest) SetPasswordContent(_passwordContent string) error
- func (r *TaobaotbksctpwdconvertAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbksctpwdconvertAPIRequest) SetSiteId(_siteId int64) error
- func (r *TaobaotbksctpwdconvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaotbksctpwdconvertAPIResponse
- type TaobaotbksctpwdconvertAPIResponseModel
- type TaobaotbksctpwdconvertMapData
- type TaobaotbkscucrowdcreateAPIRequest
- func (r TaobaotbkscucrowdcreateAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscucrowdcreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscucrowdcreateAPIRequest) GetDesc() string
- func (r TaobaotbkscucrowdcreateAPIRequest) GetExternalCrowdCode() string
- func (r TaobaotbkscucrowdcreateAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscucrowdcreateAPIRequest) GetUcrowdName() string
- func (r TaobaotbkscucrowdcreateAPIRequest) GetUcrowdType() int64
- func (r *TaobaotbkscucrowdcreateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaotbkscucrowdcreateAPIRequest) SetExternalCrowdCode(_externalCrowdCode string) error
- func (r *TaobaotbkscucrowdcreateAPIRequest) SetUcrowdName(_ucrowdName string) error
- func (r *TaobaotbkscucrowdcreateAPIRequest) SetUcrowdType(_ucrowdType int64) error
- type TaobaotbkscucrowdcreateAPIResponse
- type TaobaotbkscucrowdcreateAPIResponseModel
- type TaobaotbkscucrowdcreateRpcResult
- type TaobaotbkscucrowddeleteAPIRequest
- func (r TaobaotbkscucrowddeleteAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscucrowddeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscucrowddeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscucrowddeleteAPIRequest) GetUcrowdId() int64
- func (r *TaobaotbkscucrowddeleteAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaotbkscucrowddeleteAPIResponse
- type TaobaotbkscucrowddeleteAPIResponseModel
- type TaobaotbkscucrowddeleteRpcResult
- type TaobaotbkscucrowdgetAPIRequest
- func (r TaobaotbkscucrowdgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscucrowdgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscucrowdgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscucrowdgetAPIRequest) GetUcrowdId() int64
- func (r *TaobaotbkscucrowdgetAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaotbkscucrowdgetAPIResponse
- type TaobaotbkscucrowdgetAPIResponseModel
- type TaobaotbkscucrowdgetRpcResult
- type TaobaotbkscucrowdmemberaddAPIRequest
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetAccountList() []string
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetAccountType() int64
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetEditType() int64
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscucrowdmemberaddAPIRequest) GetUcrowdId() int64
- func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetAccountList(_accountList []string) error
- func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetAccountType(_accountType int64) error
- func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetEditType(_editType int64) error
- func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaotbkscucrowdmemberaddAPIResponse
- type TaobaotbkscucrowdmemberaddAPIResponseModel
- type TaobaotbkscucrowdmemberaddRpcResult
- type TaobaotbkscucrowdreportgetAPIRequest
- func (r TaobaotbkscucrowdreportgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscucrowdreportgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscucrowdreportgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscucrowdreportgetAPIRequest) GetReportDate() string
- func (r TaobaotbkscucrowdreportgetAPIRequest) GetUcrowdId() int64
- func (r *TaobaotbkscucrowdreportgetAPIRequest) SetReportDate(_reportDate string) error
- func (r *TaobaotbkscucrowdreportgetAPIRequest) SetUcrowdId(_ucrowdId int64) error
- type TaobaotbkscucrowdreportgetAPIResponse
- type TaobaotbkscucrowdreportgetAPIResponseModel
- type TaobaotbkscucrowdreportgetRpcResult
- type TaobaotbkscvegassendreportAPIRequest
- func (r TaobaotbkscvegassendreportAPIRequest) GetActivityCategory() int64
- func (r TaobaotbkscvegassendreportAPIRequest) GetActivityId() int64
- func (r TaobaotbkscvegassendreportAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscvegassendreportAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscvegassendreportAPIRequest) GetBizDate() string
- func (r TaobaotbkscvegassendreportAPIRequest) GetPageNo() int64
- func (r TaobaotbkscvegassendreportAPIRequest) GetPageSize() int64
- func (r TaobaotbkscvegassendreportAPIRequest) GetPid() string
- func (r TaobaotbkscvegassendreportAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscvegassendreportAPIRequest) GetRelationId() int64
- func (r TaobaotbkscvegassendreportAPIRequest) GetRptDim() string
- func (r *TaobaotbkscvegassendreportAPIRequest) SetActivityCategory(_activityCategory int64) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetActivityId(_activityId int64) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetBizDate(_bizDate string) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetPid(_pid string) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetRelationId(_relationId int64) error
- func (r *TaobaotbkscvegassendreportAPIRequest) SetRptDim(_rptDim string) error
- type TaobaotbkscvegassendreportAPIResponse
- type TaobaotbkscvegassendreportAPIResponseModel
- type TaobaotbkscvegassendreportResult
- type TaobaotbkscvegassendstatusAPIRequest
- func (r TaobaotbkscvegassendstatusAPIRequest) GetActivityCategory() int64
- func (r TaobaotbkscvegassendstatusAPIRequest) GetApiMethodName() string
- func (r TaobaotbkscvegassendstatusAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkscvegassendstatusAPIRequest) GetDeviceType() string
- func (r TaobaotbkscvegassendstatusAPIRequest) GetDeviceValue() string
- func (r TaobaotbkscvegassendstatusAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkscvegassendstatusAPIRequest) GetRelationId() string
- func (r TaobaotbkscvegassendstatusAPIRequest) GetSpecialId() string
- func (r *TaobaotbkscvegassendstatusAPIRequest) SetActivityCategory(_activityCategory int64) error
- func (r *TaobaotbkscvegassendstatusAPIRequest) SetDeviceType(_deviceType string) error
- func (r *TaobaotbkscvegassendstatusAPIRequest) SetDeviceValue(_deviceValue string) error
- func (r *TaobaotbkscvegassendstatusAPIRequest) SetRelationId(_relationId string) error
- func (r *TaobaotbkscvegassendstatusAPIRequest) SetSpecialId(_specialId string) error
- type TaobaotbkscvegassendstatusAPIResponse
- type TaobaotbkscvegassendstatusAPIResponseModel
- type TaobaotbkscvegassendstatusData
- type TaobaotbkscvegassendstatusMapData
- type TaobaotbkshopgetAPIRequest
- func (r TaobaotbkshopgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkshopgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkshopgetAPIRequest) GetEndAuctionCount() int64
- func (r TaobaotbkshopgetAPIRequest) GetEndCommissionRate() int64
- func (r TaobaotbkshopgetAPIRequest) GetEndCredit() int64
- func (r TaobaotbkshopgetAPIRequest) GetEndTotalAction() int64
- func (r TaobaotbkshopgetAPIRequest) GetFields() string
- func (r TaobaotbkshopgetAPIRequest) GetIsTmall() bool
- func (r TaobaotbkshopgetAPIRequest) GetPageNo() int64
- func (r TaobaotbkshopgetAPIRequest) GetPageSize() int64
- func (r TaobaotbkshopgetAPIRequest) GetPlatform() int64
- func (r TaobaotbkshopgetAPIRequest) GetQ() string
- func (r TaobaotbkshopgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkshopgetAPIRequest) GetSort() string
- func (r TaobaotbkshopgetAPIRequest) GetStartAuctionCount() int64
- func (r TaobaotbkshopgetAPIRequest) GetStartCommissionRate() int64
- func (r TaobaotbkshopgetAPIRequest) GetStartCredit() int64
- func (r TaobaotbkshopgetAPIRequest) GetStartTotalAction() int64
- func (r *TaobaotbkshopgetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetEndCredit(_endCredit int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetEndTotalAction(_endTotalAction int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetFields(_fields string) error
- func (r *TaobaotbkshopgetAPIRequest) SetIsTmall(_isTmall bool) error
- func (r *TaobaotbkshopgetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetQ(_q string) error
- func (r *TaobaotbkshopgetAPIRequest) SetSort(_sort string) error
- func (r *TaobaotbkshopgetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetStartCredit(_startCredit int64) error
- func (r *TaobaotbkshopgetAPIRequest) SetStartTotalAction(_startTotalAction int64) error
- type TaobaotbkshopgetAPIResponse
- type TaobaotbkshopgetAPIResponseModel
- type TaobaotbkshoprecommendgetAPIRequest
- func (r TaobaotbkshoprecommendgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkshoprecommendgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkshoprecommendgetAPIRequest) GetCount() int64
- func (r TaobaotbkshoprecommendgetAPIRequest) GetFields() string
- func (r TaobaotbkshoprecommendgetAPIRequest) GetPlatform() int64
- func (r TaobaotbkshoprecommendgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkshoprecommendgetAPIRequest) GetUserId() int64
- func (r *TaobaotbkshoprecommendgetAPIRequest) SetCount(_count int64) error
- func (r *TaobaotbkshoprecommendgetAPIRequest) SetFields(_fields string) error
- func (r *TaobaotbkshoprecommendgetAPIRequest) SetPlatform(_platform int64) error
- func (r *TaobaotbkshoprecommendgetAPIRequest) SetUserId(_userId int64) error
- type TaobaotbkshoprecommendgetAPIResponse
- type TaobaotbkshoprecommendgetAPIResponseModel
- type TaobaotbkskubestcouponAPIRequest
- func (r TaobaotbkskubestcouponAPIRequest) GetApiMethodName() string
- func (r TaobaotbkskubestcouponAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkskubestcouponAPIRequest) GetItemId() int64
- func (r TaobaotbkskubestcouponAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkskubestcouponAPIRequest) GetSkuId() int64
- func (r *TaobaotbkskubestcouponAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaotbkskubestcouponAPIRequest) SetSkuId(_skuId int64) error
- type TaobaotbkskubestcouponAPIResponse
- type TaobaotbkskubestcouponAPIResponseModel
- type TaobaotbkskubestcouponMapData
- type TaobaotbkspreadgetAPIRequest
- func (r TaobaotbkspreadgetAPIRequest) GetApiMethodName() string
- func (r TaobaotbkspreadgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbkspreadgetAPIRequest) GetRawParams() model.Params
- func (r TaobaotbkspreadgetAPIRequest) GetRequests() []TbkSpreadRequest
- func (r *TaobaotbkspreadgetAPIRequest) SetRequests(_requests []TbkSpreadRequest) error
- type TaobaotbkspreadgetAPIResponse
- type TaobaotbkspreadgetAPIResponseModel
- type TaobaotbktpwdcreateAPIRequest
- func (r TaobaotbktpwdcreateAPIRequest) GetApiMethodName() string
- func (r TaobaotbktpwdcreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaotbktpwdcreateAPIRequest) GetExt() string
- func (r TaobaotbktpwdcreateAPIRequest) GetLogo() string
- func (r TaobaotbktpwdcreateAPIRequest) GetRawParams() model.Params
- func (r TaobaotbktpwdcreateAPIRequest) GetText() string
- func (r TaobaotbktpwdcreateAPIRequest) GetUrl() string
- func (r TaobaotbktpwdcreateAPIRequest) GetUserId() string
- func (r *TaobaotbktpwdcreateAPIRequest) SetExt(_ext string) error
- func (r *TaobaotbktpwdcreateAPIRequest) SetLogo(_logo string) error
- func (r *TaobaotbktpwdcreateAPIRequest) SetText(_text string) error
- func (r *TaobaotbktpwdcreateAPIRequest) SetUrl(_url string) error
- func (r *TaobaotbktpwdcreateAPIRequest) SetUserId(_userId string) error
- type TaobaotbktpwdcreateAPIResponse
- type TaobaotbktpwdcreateAPIResponseModel
- type TaobaotbktpwdcreateMapData
- type TbkSpread
- type TbkSpreadRequest
- type TopApiAfOrderOption
- type TopApiRefundRptOption
- type TopNinfoDto
- type Ucrowdrankitems
- type UpdateStatusResult
- type UserRuleInfo
- type VegasCpaReportDto
- type WordMapData
- type Youjiacouponinfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlimmShareInfoDto ¶ added in v1.2.9
type AlimmShareInfoDto struct { float64 `json:"alimm_tech_service_rate,omitempty" xml:"alimm_tech_service_rate,omitempty"` AlimmTechServicePreFee float64 `json:"alimm_tech_service_pre_fee,omitempty" xml:"alimm_tech_service_pre_fee,omitempty"` AlimmTechServiceFee float64 `json:"alimm_tech_service_fee,omitempty" xml:"alimm_tech_service_fee,omitempty"` AlimmAgentServiceRate float64 `json:"alimm_agent_service_rate,omitempty" xml:"alimm_agent_service_rate,omitempty"` AlimmAgentServicePreFee float64 `json:"alimm_agent_service_pre_fee,omitempty" xml:"alimm_agent_service_pre_fee,omitempty"` AlimmAgentServiceFee float64 `json:"alimm_agent_service_fee,omitempty" xml:"alimm_agent_service_fee,omitempty"` }AlimmTechServiceRate
AlimmShareInfoDto 结构体
type BybtInfoDto ¶ added in v1.2.5
type BybtInfoDto struct { // 百亿补贴商品特征标签,eg.今日发货、晚发补偿、限购一件等 BybtItemTags []string `json:"bybt_item_tags,omitempty" xml:"bybt_item_tags>string,omitempty"` // 百亿补贴品牌logo BybtBrandLogo string `json:"bybt_brand_logo,omitempty" xml:"bybt_brand_logo,omitempty"` // 百亿补贴白底图 BybtPicUrl string `json:"bybt_pic_url,omitempty" xml:"bybt_pic_url,omitempty"` // 百亿补贴专属券面额,仅限百亿补贴场景透出 BybtCouponAmount string `json:"bybt_coupon_amount,omitempty" xml:"bybt_coupon_amount,omitempty"` // 百亿补贴页面实时价 BybtShowPrice string `json:"bybt_show_price,omitempty" xml:"bybt_show_price,omitempty"` // 全网对比参考价格 BybtLowestPrice string `json:"bybt_lowest_price,omitempty" xml:"bybt_lowest_price,omitempty"` // 商品的百亿补贴开始时间 BybtEndTime string `json:"bybt_end_time,omitempty" xml:"bybt_end_time,omitempty"` // 商品的百亿补贴结束时间 BybtStartTime string `json:"bybt_start_time,omitempty" xml:"bybt_start_time,omitempty"` }
BybtInfoDto 结构体
type CrowdDto ¶ added in v1.2.5
type CrowdDto struct { // 人群描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 外部人群编码 ExternalCrowdCode string `json:"external_crowd_code,omitempty" xml:"external_crowd_code,omitempty"` // 人群标签名称 UcrowdName string `json:"ucrowd_name,omitempty" xml:"ucrowd_name,omitempty"` // 更新时间 UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 状态,0:待生效,1:生效,2:失效 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 人群类型,1:社群 UcrowdType int64 `json:"ucrowd_type,omitempty" xml:"ucrowd_type,omitempty"` // 人群标签id UcrowdId int64 `json:"ucrowd_id,omitempty" xml:"ucrowd_id,omitempty"` // 覆盖会员数量 MemberSize int64 `json:"member_size,omitempty" xml:"member_size,omitempty"` }
CrowdDto 结构体
type DataMap ¶ added in v1.2.5
type DataMap struct { // 当入参不传pid的时候返回,表示账号关联的pid Pid string `json:"pid,omitempty" xml:"pid,omitempty"` // 当入参传入pid的时候返回,表示pid关联的relationId Rid string `json:"rid,omitempty" xml:"rid,omitempty"` // 0表示预警,1表示拦截,如果名单中同一个淘客同时有拦截和预警信息,以拦截为准 Status string `json:"status,omitempty" xml:"status,omitempty"` }
DataMap 结构体
type DwsUnionAppDto ¶ added in v1.2.5
type DwsUnionAppDto struct { string `json:"pre_pub_share_fee,omitempty" xml:"pre_pub_share_fee,omitempty"` // 支付金额 AlipayAmt string `json:"alipay_amt,omitempty" xml:"alipay_amt,omitempty"` // 人群内成交人数 AlipayUserNumInUcrowd int64 `json:"alipay_user_num_in_ucrowd,omitempty" xml:"alipay_user_num_in_ucrowd,omitempty"` // 支付人数 AlipayUserNum int64 `json:"alipay_user_num,omitempty" xml:"alipay_user_num,omitempty"` // 支付订单数 AlipayNum int64 `json:"alipay_num,omitempty" xml:"alipay_num,omitempty"` // 点击人数 ClickUvUnion int64 `json:"click_uv_union,omitempty" xml:"click_uv_union,omitempty"` // 点击数 ClickPvUnion int64 `json:"click_pv_union,omitempty" xml:"click_pv_union,omitempty"` }PrePubShareFee
DwsUnionAppDto 结构体
type Extra ¶ added in v1.2.5
type Extra struct { // 领取率,领取淘礼金个数/创建淘礼金个数 GetRate string `json:"get_rate,omitempty" xml:"get_rate,omitempty"` // 使用率,使用淘礼金个数/领取淘礼金个数 UseRate string `json:"use_rate,omitempty" xml:"use_rate,omitempty"` // 引导付款金额,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,引导付款笔数也会记录两单 AlipayAmt string `json:"alipay_amt,omitempty" xml:"alipay_amt,omitempty"` PrePubShareFeeForDisp string `json:"pre_pub_share_fee_for_disp,omitempty" xml:"pre_pub_share_fee_for_disp,omitempty"` // 结算佣金,确认收货,产生二次红包使用行为,会记录2次 CmSettleAmt string `json:"cm_settle_amt,omitempty" xml:"cm_settle_amt,omitempty"` // 领取淘礼金金额 WinSumAmt string `json:"win_sum_amt,omitempty" xml:"win_sum_amt,omitempty"` // 未领取金额,过了领取有效期或者暂停后没有被领取的红包金额 RemainingAmt string `json:"remaining_amt,omitempty" xml:"remaining_amt,omitempty"` // 使用淘礼金金额,若红包被重复使用(1)淘礼金红包被拆分,并且产生部分退款,会保留部分退款的订单淘礼金金额;若全部退款,会保留订单全部淘礼金金额),因此,已使用金额可能大于消费者实际使用金额(使用红包后,若产生红包退回后再次使用,已使用金额会被二次计算,已使用数量不会) UseSumAmt string `json:"use_sum_amt,omitempty" xml:"use_sum_amt,omitempty"` // 退款淘礼金金额,红包使用后,由于订单取消,退货退款等行为行为带来的淘礼金红包退回数量 (退款红包若产生多次使用,退款红包金额会被多次计算,退款红包数量单日内不重复计算,跨天重复计算) RefundSumAmt string `json:"refund_sum_amt,omitempty" xml:"refund_sum_amt,omitempty"` // 引导付款笔数,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,引导付款笔数也会记录两单 AlipayNum int64 `json:"alipay_num,omitempty" xml:"alipay_num,omitempty"` // 领取淘礼金个数 WinPv int64 `json:"win_pv,omitempty" xml:"win_pv,omitempty"` // 未领取淘礼金个数,过了领取有效期或者暂停后没有被领取的红包个数 RemainingNum int64 `json:"remaining_num,omitempty" xml:"remaining_num,omitempty"` // 使用淘礼金个数,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,使用淘礼金个数一天内会去重,所以相当于不会重记 UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"` // 退款淘礼金个数,红包使用后,由于订单取消,退货退款等行为带来的淘礼金红包退回数量,退款红包数量单日内不重复计算,跨天重复计算 RefundNum int64 `json:"refund_num,omitempty" xml:"refund_num,omitempty"` }
Extra 结构体
type FavoritesDetail ¶
type FavoritesDetail struct { // 选品库标题 FavoritesTitle string `json:"favorites_title,omitempty" xml:"favorites_title,omitempty"` // 选品库id FavoritesId int64 `json:"favorites_id,omitempty" xml:"favorites_id,omitempty"` }
FavoritesDetail 结构体
type FavoritesInfo ¶
type FavoritesInfo struct { // 选品库详细信息 FavoritesList []FavoritesDetail `json:"favorites_list,omitempty" xml:"favorites_list>favorites_detail,omitempty"` // 选品库总数量 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
FavoritesInfo 结构体
type InstanceDto ¶ added in v1.2.5
type InstanceDto struct { // extra Extra *Extra `json:"extra,omitempty" xml:"extra,omitempty"` }
InstanceDto 结构体
type MaifanPromotionDto ¶ added in v1.2.5
type MaifanPromotionDto struct { // 猫超买返卡活动结束时间 MaifanPromotionEndTime string `json:"maifan_promotion_end_time,omitempty" xml:"maifan_promotion_end_time,omitempty"` // 猫超买返卡活动开始时间 MaifanPromotionStartTime string `json:"maifan_promotion_start_time,omitempty" xml:"maifan_promotion_start_time,omitempty"` // 猫超买返卡面额 MaifanPromotionDiscount string `json:"maifan_promotion_discount,omitempty" xml:"maifan_promotion_discount,omitempty"` // 猫超买返卡总数,-1代表不限量,其他大于等于0的值为总数 MaifanPromotionCondition string `json:"maifan_promotion_condition,omitempty" xml:"maifan_promotion_condition,omitempty"` }
MaifanPromotionDto 结构体
type MaterialDto ¶ added in v1.2.5
type MaterialDto struct { // 优惠券面额 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品优惠券推广链接 CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 当不入参special_id、relation_id、external_id时,展示常规佣金率(%) MaxCommissionRate string `json:"max_commission_rate,omitempty" xml:"max_commission_rate,omitempty"` // 商品淘客链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 预售有礼-佣金比例(%)( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 当入参special_id、relation_id、external_id时,该字段展示预估最低佣金率(%) MinCommissionRate string `json:"min_commission_rate,omitempty" xml:"min_commission_rate,omitempty"` // 商品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 转链成功的场景下,需要补充说明的信息 ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"` // 优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券(商品优惠券推广链接中的券)类型,1 公开券,2 私有券,3 妈妈券 CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"` // 后台一级类目 CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-当入参get_topn_rate=1,前N件佣金生效且最高,透出该组字段 TopnInfo *StepRateDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 小程序链接(暂未对外开放) MiniProgram *MiniProgramDto `json:"mini_program,omitempty" xml:"mini_program,omitempty"` // 计划类型,0代表通用计划,1代表定向计划,2代表鹊桥计划,3代表营销计划 CampaignType int64 `json:"campaign_type,omitempty" xml:"campaign_type,omitempty"` }
MaterialDto 结构体
type MiniProgramDto ¶ added in v1.2.5
type MiniProgramDto struct { // 小程序APPID MiniProgramAppid string `json:"mini_program_appid,omitempty" xml:"mini_program_appid,omitempty"` // 小程序路径 MiniProgramPath string `json:"mini_program_path,omitempty" xml:"mini_program_path,omitempty"` // 小程序码url地址 MiniProgramQrcodeUrl string `json:"mini_program_qrcode_url,omitempty" xml:"mini_program_qrcode_url,omitempty"` }
MiniProgramDto 结构体
type NtbkItem ¶ added in v1.3.1
type NtbkItem struct { // 商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 一级类目名称 CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"` // 商品ID NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 商品链接 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 店铺名称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 叶子类目名称 CatLeafName string `json:"cat_leaf_name,omitempty" xml:"cat_leaf_name,omitempty"` // 商品库类型,支持多库类型输出,以英文逗号分隔“,”分隔,1:营销商品主推库,如果值为空则不属于1这种商品类型 MaterialLibType string `json:"material_lib_type,omitempty" xml:"material_lib_type,omitempty"` // 预售商品-商品优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 1聚划算满减:满N件减X元,满N件X折,满N件X元) 2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元) PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 聚划算信息-聚淘开始时间(毫秒) JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 聚划算信息-聚淘结束时间(毫秒) JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 聚划算信息-商品预热开始时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 聚划算信息-商品预热结束时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 入参的(新)商品ID InputNumIid string `json:"input_num_iid,omitempty" xml:"input_num_iid,omitempty"` // 卖家类型,0表示集市,1表示商城,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺dsr 评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 卖家等级 Ratesum int64 `json:"ratesum,omitempty" xml:"ratesum,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 聚划算满减 -结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 聚划算满减 -开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 是否加入消费者保障 IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,omitempty"` // 退款率是否低于行业均值 IRfdRate bool `json:"i_rfd_rate,omitempty" xml:"i_rfd_rate,omitempty"` // 好评率是否高于行业均值 HGoodRate bool `json:"h_good_rate,omitempty" xml:"h_good_rate,omitempty"` // 成交转化是否高于行业均值 HPayRate30 bool `json:"h_pay_rate30,omitempty" xml:"h_pay_rate30,omitempty"` // 是否包邮 FreeShipment bool `json:"free_shipment,omitempty" xml:"free_shipment,omitempty"` }
NtbkItem 结构体
type NtbkShop ¶ added in v1.3.1
type NtbkShop struct { // 店铺推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 店铺地址 ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 店铺类型,B:天猫,C:淘宝 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店标图片 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 卖家id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
NtbkShop 结构体
type OfferList ¶ added in v1.2.8
type OfferList struct { // 活动id OfferId string `json:"offer_id,omitempty" xml:"offer_id,omitempty"` // 淘礼金领取URL,不支持使用短链接 TljUrl string `json:"tlj_url,omitempty" xml:"tlj_url,omitempty"` // 商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` }
OfferList 结构体
type OrderData ¶
type OrderData struct { // 预估佣金 Commission string `json:"commission,omitempty" xml:"commission,omitempty"` // 收货时间 ConfirmReceiveTime string `json:"confirm_receive_time,omitempty" xml:"confirm_receive_time,omitempty"` // 支付时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` }
OrderData 结构体
type OrderPage ¶ added in v1.2.3
type OrderPage struct { // PublisherOrderDto Results []PublisherOrderDto `json:"results,omitempty" xml:"results>publisher_order_dto,omitempty"` // 真正的业务数据结构 Result []PublisherRefundOrderDto `json:"result,omitempty" xml:"result>publisher_refund_order_dto,omitempty"` // 位点字段,由调用方原样传递 PositionIndex string `json:"position_index,omitempty" xml:"position_index,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 上一页 PrePage int64 `json:"pre_page,omitempty" xml:"pre_page,omitempty"` // 下一页 NextPage int64 `json:"next_page,omitempty" xml:"next_page,omitempty"` // 是否还有上一页 HasPre bool `json:"has_pre,omitempty" xml:"has_pre,omitempty"` // 是否还有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
OrderPage 结构体
type PageResult ¶
type PageResult struct { // 数据结果 Results []TaobaotbkdgcpaactivitydetailResults `json:"results,omitempty" xml:"results>taobaotbkdgcpaactivitydetail_results,omitempty"` // 数据批次号(时间戳) Runtime string `json:"runtime,omitempty" xml:"runtime,omitempty"` // 上一页页码 PrePage int64 `json:"pre_page,omitempty" xml:"pre_page,omitempty"` // 下一页页码 NextPage int64 `json:"next_page,omitempty" xml:"next_page,omitempty"` // 当前页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 总共页数 TotalPages int64 `json:"total_pages,omitempty" xml:"total_pages,omitempty"` // 每页条数 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` // 是否有下一页 HasPre bool `json:"has_pre,omitempty" xml:"has_pre,omitempty"` }
PageResult 结构体
type PlatformSpecialShareInfoDto ¶ added in v1.2.9
type PlatformSpecialShareInfoDto struct { float64 `json:"content_tech_service_rate,omitempty" xml:"content_tech_service_rate,omitempty"` ContentTechServicePreFee float64 `json:"content_tech_service_pre_fee,omitempty" xml:"content_tech_service_pre_fee,omitempty"` ContentTechServiceFee float64 `json:"content_tech_service_fee,omitempty" xml:"content_tech_service_fee,omitempty"` TrafficTechServiceRate float64 `json:"traffic_tech_service_rate,omitempty" xml:"traffic_tech_service_rate,omitempty"` TrafficTechServicePreFee float64 `json:"traffic_tech_service_pre_fee,omitempty" xml:"traffic_tech_service_pre_fee,omitempty"` TrafficTechServiceFee float64 `json:"traffic_tech_service_fee,omitempty" xml:"traffic_tech_service_fee,omitempty"` }ContentTechServiceRate
PlatformSpecialShareInfoDto 结构体
type PromotionExtend ¶
type PromotionExtend struct { // 权益推荐商品 RecommendItemList []RecommendItemList `json:"recommend_item_list,omitempty" xml:"recommend_item_list>recommend_item_list,omitempty"` // 权益链接 PromotionUrl string `json:"promotion_url,omitempty" xml:"promotion_url,omitempty"` // 有价券信息 YoujiaCouponInfo *Youjiacouponinfo `json:"youjia_coupon_info,omitempty" xml:"youjia_coupon_info,omitempty"` }
PromotionExtend 结构体
type PromotionList ¶
type PromotionList struct { // 权益开始时间,精确到毫秒时间戳 EntryUsedStartTime string `json:"entry_used_start_time,omitempty" xml:"entry_used_start_time,omitempty"` // 权益结束时间,精确到毫秒时间戳 EntryUsedEndTime string `json:"entry_used_end_time,omitempty" xml:"entry_used_end_time,omitempty"` // 权益起用门槛,满X元可用,券场景为满元,精确到分,如满100元可用 EntryCondition string `json:"entry_condition,omitempty" xml:"entry_condition,omitempty"` // 权益面额,券场景为减钱,精确到分 EntryDiscount string `json:"entry_discount,omitempty" xml:"entry_discount,omitempty"` }
PromotionList 结构体
type PublisherOrderDto ¶ added in v1.2.3
type PublisherOrderDto struct { // 服务费信息(字段已废弃) ServiceFeeDtoList []ServiceFeeDto `json:"service_fee_dto_list,omitempty" xml:"service_fee_dto_list>service_fee_dto,omitempty"` // 补贴金额明细节点。解释:各补贴类型的类型名称、补贴比率、补贴金额、单笔补贴上限、补贴分成比率的详细说明 SubsidyInfoDtoList []SubsidyDetailDto `json:"subsidy_info_dto_list,omitempty" xml:"subsidy_info_dto_list>subsidy_detail_dto,omitempty"` // 淘宝付款时间。解释:订单在淘宝付款的时间 TbPaidTime string `json:"tb_paid_time,omitempty" xml:"tb_paid_time,omitempty"` // 付款时间。解释:订单付款的时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单付款时间 (预售订单完尾款支付后,付款时间会自动更新为尾款支付的时间) TkPaidTime string `json:"tk_paid_time,omitempty" xml:"tk_paid_time,omitempty"` // 结算金额。解释:买家确认收货的付款金额(不包含运费金额) PayPrice string `json:"pay_price,omitempty" xml:"pay_price,omitempty"` PubShareFee string `json:"pub_share_fee,omitempty" xml:"pub_share_fee,omitempty"` // 子订单号。解释:买家通过购物车购买的每个商品对应的订单编号,此订单编号并未在淘宝买家后台透出,若平台类型为淘宝、口碑、饿了么等,则订单编号即为淘宝子订单编号、口碑订单编号、饿了么订单编号,以此类推 TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"` // 结算时间。解释:订单确认收货后且商家完成佣金支付的时间 TkEarningTime string `json:"tk_earning_time,omitempty" xml:"tk_earning_time,omitempty"` PubShareRate string `json:"pub_share_rate,omitempty" xml:"pub_share_rate,omitempty"` // 补贴比率。解释:指该笔订单上各类型补贴的补贴比率总和。补贴比率=a补贴比率+b补贴比率+…。举例:天猫补贴1%、飞猪补贴1%等,则该数值显示为2% SubsidyRate string `json:"subsidy_rate,omitempty" xml:"subsidy_rate,omitempty"` // 佣金提成。解释:佣金提成=佣金比率*佣金分成比率。指实际获得的佣金收益比率(含平台技术服务费) TkTotalRate string `json:"tk_total_rate,omitempty" xml:"tk_total_rate,omitempty"` // 类目名称。解释:商品所属的一级类目名称 ItemCategoryName string `json:"item_category_name,omitempty" xml:"item_category_name,omitempty"` // 掌柜旺旺 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 推广者赚取佣金后支付给阿里妈妈的技术服务费用的比率 AlimamaRate string `json:"alimama_rate,omitempty" xml:"alimama_rate,omitempty"` // 补贴类型。解释:各补贴类型的类型名称、补贴比率、补贴金额、单笔补贴上限、补贴分成比率的详细说明,如有多个补贴会一并告知,举例:淘宝特价版(补贴比率:1%,补贴金额1.00元,单笔补贴上限金额1000.00元,补贴分成比率:100.00%)、飞猪补贴(补贴比率:1%,补贴金额1.00元,单笔补贴上限金额1000.00元,补贴分成比率:100.00%) SubsidyType string `json:"subsidy_type,omitempty" xml:"subsidy_type,omitempty"` // 商品图片 ItemImg string `json:"item_img,omitempty" xml:"item_img,omitempty"` PubSharePreFee string `json:"pub_share_pre_fee,omitempty" xml:"pub_share_pre_fee,omitempty"` // 付款金额。解释:买家拍下并付款金额(不包含运费金额、不包含未支付尾款的预售订单金额);当预售订单完尾款支付后,付款金额会自动更新为订单总金额 AlipayTotalPrice string `json:"alipay_total_price,omitempty" xml:"alipay_total_price,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 媒体名称。解释:“推广管理-媒体备案管理”中的媒体名称 SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"` // 补贴金额。解释:指该笔订单上各类补贴的补贴金额总和。补贴金额=a补贴金额+b补贴金额+…=结算金额*a补贴比率+结算金额*b补贴比率+…。若(结算金额*a补贴比率)>补贴类型a单笔补贴上限,则a补贴金额=补贴类型a单笔补贴上限,b补贴金额等其他补贴金额同理 SubsidyFee string `json:"subsidy_fee,omitempty" xml:"subsidy_fee,omitempty"` AlimamaShareFee string `json:"alimama_share_fee,omitempty" xml:"alimama_share_fee,omitempty"` // 订单编号。解释:买家在购买后台显示的订单编号,若平台类型为淘宝、饿了么等,则订单编号即为淘宝订单编号、饿了么订单编号,以此类推 TradeParentId string `json:"trade_parent_id,omitempty" xml:"trade_parent_id,omitempty"` // 平台类型。解释:订单所属平台类型,包括天猫、淘宝、聚划算、口碑等 OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // 创建时间。解释:订单创建的时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单创建时间 TkCreateTime string `json:"tk_create_time,omitempty" xml:"tk_create_time,omitempty"` // 产品类型。解释:若订单属于特定的产品类型,会进行说明,举例:该订单属于“联盟超级活动”、“品牌精选推广”、“自主推广”等,若无说明仅为“--”则为普通类型订单 FlowSource string `json:"flow_source,omitempty" xml:"flow_source,omitempty"` // 成交平台。解释:成交来自于PC或无线 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 点击时间。解释:通过推广链接达到商品、店铺详情页的点击时间 ClickTime string `json:"click_time,omitempty" xml:"click_time,omitempty"` // 商品单价 ItemPrice string `json:"item_price,omitempty" xml:"item_price,omitempty"` // 商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 推广位名称。解释:“推广管理-推广位管理”中的推广位名称 AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"` // 佣金比率。解释:商品的佣金比率(含平台技术服务费比率,但不包含平台专项服务费比率)(特别说明:若想知道属于您名下的整体佣金比率,则整体佣金比率=佣金比率+平台专项服务费比率,为了简化展示报表,不再增加整体佣金收入字段,有需要的淘宝客可自行加和,举例:若整体佣金比率为10%,平台专项服务费比率为3%,则此处商品佣金比率显示为7%,即10%-3%=7%) TotalCommissionRate string `json:"total_commission_rate,omitempty" xml:"total_commission_rate,omitempty"` // 商品链接 ItemLink string `json:"item_link,omitempty" xml:"item_link,omitempty"` // 店铺名称 SellerShopTitle string `json:"seller_shop_title,omitempty" xml:"seller_shop_title,omitempty"` // 收入比率。解释:收入比率=佣金比率+补贴比率 IncomeRate string `json:"income_rate,omitempty" xml:"income_rate,omitempty"` // 佣金金额。解释:如果该订单还未结算,则佣金金额=付款金额*佣金比率;如果该订单已经结算,则佣金金额=结算金额*佣金比率 TotalCommissionFee string `json:"total_commission_fee,omitempty" xml:"total_commission_fee,omitempty"` // 定金付款时间。解释:预售时期,预售订单支付定金的付款时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单创建时间 TkDepositTime string `json:"tk_deposit_time,omitempty" xml:"tk_deposit_time,omitempty"` // 定金淘宝付款时间。解释:预售时期,预售订单在淘宝支付定金的付款时间 TbDepositTime string `json:"tb_deposit_time,omitempty" xml:"tb_deposit_time,omitempty"` // 定金付款金额。解释:预售时期,预售订单支付的定金金额 DepositPrice string `json:"deposit_price,omitempty" xml:"deposit_price,omitempty"` // 开发者调用api的appkey AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"` // 非电商淘系子订单号 TpOrderId string `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"` // 营销类型。解释:该字段中视订单情况有单个或多个类型告知。 举例:联盟超级活动-优品、特价版客户端锁粉、特价版客户端推广等 MarketingType string `json:"marketing_type,omitempty" xml:"marketing_type,omitempty"` // 订单更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 管理member新商品ID-B段 ExtraMktId string `json:"extra_mkt_id,omitempty" xml:"extra_mkt_id,omitempty"` // unid(不对外开放) Unid string `json:"unid,omitempty" xml:"unid,omitempty"` // 专用(不对外开放) TalentPid string `json:"talent_pid,omitempty" xml:"talent_pid,omitempty"` // 买家拍下金额(不包含运费金额) TbGmvTotalPrice string `json:"tb_gmv_total_price,omitempty" xml:"tb_gmv_total_price,omitempty"` // 流量通untts(默认无,限定开放) Untts string `json:"untts,omitempty" xml:"untts,omitempty"` // 推广者身份。解释:二方:佣金收益的第一归属者;三方:从其他淘宝客佣金中进行分成的推广者 TkOrderRole int64 `json:"tk_order_role,omitempty" xml:"tk_order_role,omitempty"` // 推广位ID。解释:“推广管理-推广位管理”中的pid中的最后一段数字,如pid=mm_1_2_3中的“3”这段数字 AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // 维权标签。解释:若该订单产生了维权退款,则会打上“维权单”的提示。0 含义为非维权、1 含义为维权订单 RefundTag int64 `json:"refund_tag,omitempty" xml:"refund_tag,omitempty"` // 推广者的账号id PubId int64 `json:"pub_id,omitempty" xml:"pub_id,omitempty"` // 商品数量 ItemNum int64 `json:"item_num,omitempty" xml:"item_num,omitempty"` // 订单状态。状态类型:已付款(指订单已付款,但还未确认收货)、已收货(指订单已确认收货,但商家佣金未支付)、已结算(指订单已确认收货,且商家佣金已支付成功)、已失效(指订单关闭/订单佣金小于0.01元,订单关闭主要有:①买家超时未付款;②买家付款前,买家/商家取消了订单;③订单付款后发起售中退款成功;④仅支付定金,到期未支付尾款的预售订单)。注意:当订单商家有实收货款(含交易成功和交易关闭订单),联盟以商家实收货款进行佣金结算(满返/买返订单等特殊订单除外)。出参数字代表:3:订单结算,12:订单付款,13:订单失效,14:订单成功 TkStatus int64 `json:"tk_status,omitempty" xml:"tk_status,omitempty"` // 媒体ID。解释:“推广管理-媒体备案管理”中的媒体ID,也是pid中的第二段数字,如pid=mm_1_2_3中的“2”这段数字 SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 会员运营ID。解释:会员运营管理功能中的会员运营ID,若该订单来自于会员的购买,则会展示对应会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id。解释:渠道管理功能中的渠道关系ID,若该订单来自于渠道方的推广,则会展示对应渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` PubSharePreFeeForCommission float64 `json:"pub_share_pre_fee_for_commission,omitempty" xml:"pub_share_pre_fee_for_commission,omitempty"` PubShareFeeForCommission float64 `json:"pub_share_fee_for_commission,omitempty" xml:"pub_share_fee_for_commission,omitempty"` PubShareRateForSdy float64 `json:"pub_share_rate_for_sdy,omitempty" xml:"pub_share_rate_for_sdy,omitempty"` // 补贴提成。解释:补贴提成=补贴比率*补贴分成比率。指实际获得的补贴收益比率 TkTotalRateForSdy float64 `json:"tk_total_rate_for_sdy,omitempty" xml:"tk_total_rate_for_sdy,omitempty"` PubSharePreFeeForSdy float64 `json:"pub_share_pre_fee_for_sdy,omitempty" xml:"pub_share_pre_fee_for_sdy,omitempty"` PubShareFeeForSdy float64 `json:"pub_share_fee_for_sdy,omitempty" xml:"pub_share_fee_for_sdy,omitempty"` AlimmShareInfoDto *AlimmShareInfoDto `json:"alimm_share_info_dto,omitempty" xml:"alimm_share_info_dto,omitempty"` // 平台专项服务费比率。解释:指该笔订单推广者在各种特殊场景下需支付给淘宝联盟的所有专项服务费比率总和。平台专项服务费比率=专项服务费比率a+专项服务费比率b+… PlatformSpecialServiceRate float64 `json:"platform_special_service_rate,omitempty" xml:"platform_special_service_rate,omitempty"` // 平台专项服务费。解释:指该笔订单推广者在各种特殊场景下需支付给淘宝联盟的所有专项服务费用总和。目前包含以下两类:1、内容专项服务费说明:内容场景专项技术服务费,内容推广者在内容场景进行推广需要支付给淘宝联盟的专项技术服务费用;2、流量专项服务费说明:流量通产品合作场景专项技术服务费,推广者在流量通产品能力下,进行流量投放推广需要支付给淘宝联盟的专项技术服务费用。 平台专项服务费=付款金额*平台专项服务费比率。注意:若订单已结算则会按结算金额计算 PlatformSpecialServiceFee float64 `json:"platform_special_service_fee,omitempty" xml:"platform_special_service_fee,omitempty"` PlatformSpecialShareInfoDto *PlatformSpecialShareInfoDto `json:"platform_special_share_info_dto,omitempty" xml:"platform_special_share_info_dto,omitempty"` }
PublisherOrderDto 结构体
type PublisherRefundOrderDto ¶ added in v1.2.9
type PublisherRefundOrderDto struct { // 维权编号,是当前订单发生维权退款的编号,非淘宝订单编号,如订单发生多次维权,则会产生多个维权编号 RefundSuitId string `json:"refund_suit_id,omitempty" xml:"refund_suit_id,omitempty"` // 淘宝父订单编号(买家在淘宝后台显示的订单编号) TbTradeParentId string `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 淘宝子订单编号 TbTradeId string `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 订单创建时间 TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"` // 订单结算时间 EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"` // 维权创建时间 TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"` // 维权完成时间 TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"` // 订单更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 推广者角色(二方、三方) TkOrderRole string `json:"tk_order_role,omitempty" xml:"tk_order_role,omitempty"` // 结算金额(订单确认收货后的成交金额) TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"` // 维权金额(买家申请维权退款的金额) RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` PubShareFee string `json:"pub_share_fee,omitempty" xml:"pub_share_fee,omitempty"` // 应退还佣金(不含技术服务费和渠道专项服务费) TkCommissionFeeRefund string `json:"tk_commission_fee_refund,omitempty" xml:"tk_commission_fee_refund,omitempty"` // 应退还补贴(不含技术服务费和渠道专项服务费) TkSubsidyFeeRefund string `json:"tk_subsidy_fee_refund,omitempty" xml:"tk_subsidy_fee_refund,omitempty"` // 应退还佣金对应的技术服务费 TkCommissionAlimmRefundFee string `json:"tk_commission_alimm_refund_fee,omitempty" xml:"tk_commission_alimm_refund_fee,omitempty"` // 应退还补贴对应的技术服务费 TkSubsidyAlimmRefundFee string `json:"tk_subsidy_alimm_refund_fee,omitempty" xml:"tk_subsidy_alimm_refund_fee,omitempty"` // 应退还佣金对应的渠道专项服务费 TkCommissionAgentRefundFee string `json:"tk_commission_agent_refund_fee,omitempty" xml:"tk_commission_agent_refund_fee,omitempty"` // 应退还补贴对应的渠道专项服务费 TkSubsidyAgentRefundFee string `json:"tk_subsidy_agent_refund_fee,omitempty" xml:"tk_subsidy_agent_refund_fee,omitempty"` // 应退还预估收入:订单发生维权退款应退还的预估收入(佣金+补贴,含技术服务费和渠道专项服务费) ShowReturnFee string `json:"show_return_fee,omitempty" xml:"show_return_fee,omitempty"` // 维权创建(淘客结算回执) 4, 维权成功(淘客结算回执) 2, 维权失败(淘客结算回执) 3, 发生多次维权,待处理 11, 从淘客处补扣(钱已结给淘客) 等待扣款 12, 从淘客处补扣(钱已结给淘客) 扣款成功 13, 从卖家处补扣(钱已结给卖家) 等待扣款 14, 从卖家处补扣(钱已结给卖家) 扣款成功 15 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 会员关系id SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` }
PublisherRefundOrderDto 结构体
type PublisherRefundOrderQueryOption ¶ added in v1.2.9
type PublisherRefundOrderQueryOption struct { // 位点,除第一页之外,都需要传递;前端原样返回。 PositionIndex string `json:"position_index,omitempty" xml:"position_index,omitempty"` // 开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页 JumpType int64 `json:"jump_type,omitempty" xml:"jump_type,omitempty"` // 1全部订单 OrderScene int64 `json:"order_scene,omitempty" xml:"order_scene,omitempty"` // 单页订单量,1-100,上限100条 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 1-维权发起时间,2-订单结算时间(正向订单),3-维权完成时间,4-订单创建时间,5-订单更新时间 (注意:入参startTime小于2022年12月20日0点时,query_type只能为1、2、3;入参startTime大于等于2022年12月20日0点时,query_type可以为1、2、3、4、5) QueryType int64 `json:"query_type,omitempty" xml:"query_type,omitempty"` // 查询页数 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 1 表示2方,2表示3方,4表示不限 MemberType int64 `json:"member_type,omitempty" xml:"member_type,omitempty"` }
PublisherRefundOrderQueryOption 结构体
type RecommendItemList ¶
type RecommendItemList struct { // 商品链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 权益推荐商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
RecommendItemList 结构体
type RegisterInfoDto ¶
type RegisterInfoDto struct { // 渠道独有 -店铺名称 ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // 渠道独有 -店铺类型 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 渠道独有 - 信息 PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"` // 渠道独有 -信息 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 渠道独有 -区 Location string `json:"location,omitempty" xml:"location,omitempty"` // 渠道独有 -类型 ShopCertifyType string `json:"shop_certify_type,omitempty" xml:"shop_certify_type,omitempty"` // 渠道独有 - 编号 CertifyNumber string `json:"certify_number,omitempty" xml:"certify_number,omitempty"` // 渠道独有 -经营类型 Career string `json:"career,omitempty" xml:"career,omitempty"` }
RegisterInfoDto 结构体
type Resultlist ¶ added in v1.2.8
type Resultlist struct { // 活动id OfferId string `json:"offer_id,omitempty" xml:"offer_id,omitempty"` // 活动状态:1-符合活动要求,2-淘客无活动权限,3-用户不匹配活动,4-系统异常,5-活动不存在 Status string `json:"status,omitempty" xml:"status,omitempty"` // 推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 微信小程序路径 WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"` // 微信小程序码 WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"` }
Resultlist 结构体
type RightsInstanceCreateResult ¶
type RightsInstanceCreateResult struct { // 淘礼金Id RightsId string `json:"rights_id,omitempty" xml:"rights_id,omitempty"` // 淘礼金领取Url SendUrl string `json:"send_url,omitempty" xml:"send_url,omitempty"` // 投放code【百川商品详情页业务专用】 VegasCode string `json:"vegas_code,omitempty" xml:"vegas_code,omitempty"` // 创建完成后资金账户可用资金,单位元,保留2位小数 AvailableFee string `json:"available_fee,omitempty" xml:"available_fee,omitempty"` // 媒体针对此商品今日剩余可领取淘礼金数量 ItemTodayNumLeft int64 `json:"item_today_num_left,omitempty" xml:"item_today_num_left,omitempty"` }
RightsInstanceCreateResult 结构体
type RightsSendRelationRptDto ¶ added in v1.2.5
type RightsSendRelationRptDto struct { // 日期 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 渠道关系id关联的pid Pid string `json:"pid,omitempty" xml:"pid,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 红包发放数量 FundNum int64 `json:"fund_num,omitempty" xml:"fund_num,omitempty"` // 红包使用次数 UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"` }
RightsSendRelationRptDto 结构体
type RightsSendRptDto ¶ added in v1.2.5
type RightsSendRptDto struct { // 渠道关系id的发放数据 RelationRptList []RightsSendRelationRptDto `json:"relation_rpt_list,omitempty" xml:"relation_rpt_list>rights_send_relation_rpt_dto,omitempty"` // pid的发放数据 PidRptList []RightsSendRelationRptDto `json:"pid_rpt_list,omitempty" xml:"pid_rpt_list>rights_send_relation_rpt_dto,omitempty"` }
RightsSendRptDto 结构体
type ServiceFeeDto ¶ added in v1.2.3
type ServiceFeeDto struct { string `json:"share_relative_rate,omitempty" xml:"share_relative_rate,omitempty"` ShareFee string `json:"share_fee,omitempty" xml:"share_fee,omitempty"` SharePreFee string `json:"share_pre_fee,omitempty" xml:"share_pre_fee,omitempty"` TkShareRoleType int64 `json:"tk_share_role_type,omitempty" xml:"tk_share_role_type,omitempty"` }ShareRelativeRate
ServiceFeeDto 结构体
type SpCampaign ¶ added in v1.2.8
type SpCampaign struct { // 定向计划活动ID SpCid string `json:"sp_cid,omitempty" xml:"sp_cid,omitempty"` // 定向计划名称 SpName string `json:"sp_name,omitempty" xml:"sp_name,omitempty"` // 定向佣金率 SpRate string `json:"sp_rate,omitempty" xml:"sp_rate,omitempty"` // 定向是否锁佣,0=不锁佣 1=锁佣 SpLockStatus string `json:"sp_lock_status,omitempty" xml:"sp_lock_status,omitempty"` // 定向计划申请链接 SpApplyLink string `json:"sp_apply_link,omitempty" xml:"sp_apply_link,omitempty"` // 定向计划是否可用 1-可用 0-不可用 SpStatus string `json:"sp_status,omitempty" xml:"sp_status,omitempty"` }
SpCampaign 结构体
type StepRateDto ¶ added in v1.2.5
type StepRateDto struct { // 前N件佣金结束时间, 当前N件佣金 失效,本字段置空 TopnEndTime int64 `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"` // 前N件佣金开始时间,当前N件佣金失效,本字段置空 TopnStartTime int64 `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"` // 前N件剩余库存,当前N件佣金失效,本字段置空 TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"` // 前N件初始总库存,当前N件佣金失效,本字段置空(失效:任务完成、时间结束、商品下架) TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"` }
StepRateDto 结构体
type StrategyResultList ¶ added in v1.2.9
type StrategyResultList struct { // 策略ID StrategyId string `json:"strategy_id,omitempty" xml:"strategy_id,omitempty"` // 状态:1-符合活动要求 ,3-用户不匹配活动,4-系统异常,6-策略ID不存在,7-策略ID无效 Status string `json:"status,omitempty" xml:"status,omitempty"` }
StrategyResultList 结构体
type SubsidyDetailDto ¶ added in v1.2.9
type SubsidyDetailDto struct { // 该笔订单包含的补贴类型 SubsidyType string `json:"subsidy_type,omitempty" xml:"subsidy_type,omitempty"` // 补贴比率 SubsidyRate float64 `json:"subsidy_rate,omitempty" xml:"subsidy_rate,omitempty"` // 对应补贴类型的补贴金额 SubsidyFee float64 `json:"subsidy_fee,omitempty" xml:"subsidy_fee,omitempty"` // 单笔订单补贴上限。对应补贴类型的单笔订单补贴上限 SubsidyUpperLimit float64 `json:"subsidy_upper_limit,omitempty" xml:"subsidy_upper_limit,omitempty"` SubsidyShareRate float64 `json:"subsidy_share_rate,omitempty" xml:"subsidy_share_rate,omitempty"` }
SubsidyDetailDto 结构体
type TaobaotbkactivityinfogetAPIRequest ¶ added in v1.3.1
type TaobaotbkactivityinfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkactivityinfogetAPIRequest 淘宝客-推广者-官方活动转链 API请求 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
func NewTaobaotbkactivityinfogetRequest ¶ added in v1.3.1
func NewTaobaotbkactivityinfogetRequest() *TaobaotbkactivityinfogetAPIRequest
NewTaobaotbkactivityinfogetRequest 初始化TaobaotbkactivityinfogetAPIRequest对象
func (TaobaotbkactivityinfogetAPIRequest) GetActivityMaterialId ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetActivityMaterialId() string
GetActivityMaterialId ActivityMaterialId Getter
func (TaobaotbkactivityinfogetAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkactivityinfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkactivityinfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkactivityinfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkactivityinfogetAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaotbkactivityinfogetAPIRequest) GetSubPid ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetSubPid() string
GetSubPid SubPid Getter
func (TaobaotbkactivityinfogetAPIRequest) GetUnionId ¶ added in v1.3.1
func (r TaobaotbkactivityinfogetAPIRequest) GetUnionId() string
GetUnionId UnionId Getter
func (*TaobaotbkactivityinfogetAPIRequest) SetActivityMaterialId ¶ added in v1.3.1
func (r *TaobaotbkactivityinfogetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
SetActivityMaterialId is ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取
func (*TaobaotbkactivityinfogetAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkactivityinfogetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaotbkactivityinfogetAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkactivityinfogetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
func (*TaobaotbkactivityinfogetAPIRequest) SetSubPid ¶ added in v1.3.1
func (r *TaobaotbkactivityinfogetAPIRequest) SetSubPid(_subPid string) error
SetSubPid is SubPid Setter mm_xxx_xxx_xxx 仅三方分成场景使用
func (*TaobaotbkactivityinfogetAPIRequest) SetUnionId ¶ added in v1.3.1
func (r *TaobaotbkactivityinfogetAPIRequest) SetUnionId(_unionId string) error
SetUnionId is UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
type TaobaotbkactivityinfogetAPIResponse ¶ added in v1.3.1
type TaobaotbkactivityinfogetAPIResponse struct { model.CommonResponse TaobaotbkactivityinfogetAPIResponseModel }
TaobaotbkactivityinfogetAPIResponse 淘宝客-推广者-官方活动转链 API返回值 taobao.tbk.activity.info.get
支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
type TaobaotbkactivityinfogetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkactivityinfogetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_activity_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaotbkactivityinfogetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkactivityinfogetAPIResponseModel is 淘宝客-推广者-官方活动转链 成功返回结果
type TaobaotbkactivityinfogetData ¶ added in v1.3.1
type TaobaotbkactivityinfogetData struct { // 【本地化】微信推广二维码地址 WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"` // 淘客推广长链 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 淘客推广短链 ShortClickUrl string `json:"short_click_url,omitempty" xml:"short_click_url,omitempty"` // 投放平台, 1-PC 2-无线 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 物料素材下载地址 MaterialOssUrl string `json:"material_oss_url,omitempty" xml:"material_oss_url,omitempty"` // 会场名称 PageName string `json:"page_name,omitempty" xml:"page_name,omitempty"` // 活动开始时间 PageStartTime string `json:"page_start_time,omitempty" xml:"page_start_time,omitempty"` // 活动结束时间 PageEndTime string `json:"page_end_time,omitempty" xml:"page_end_time,omitempty"` // 【本地化】微信小程序路径 WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"` }
TaobaotbkactivityinfogetData 结构体
type TaobaotbkcartcouponexpireuserqueryAPIRequest ¶ added in v1.3.1
type TaobaotbkcartcouponexpireuserqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkcartcouponexpireuserqueryAPIRequest 购物车催付优惠券到期查询用户信息 API请求 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
func NewTaobaotbkcartcouponexpireuserqueryRequest ¶ added in v1.3.1
func NewTaobaotbkcartcouponexpireuserqueryRequest() *TaobaotbkcartcouponexpireuserqueryAPIRequest
NewTaobaotbkcartcouponexpireuserqueryRequest 初始化TaobaotbkcartcouponexpireuserqueryAPIRequest对象
func (TaobaotbkcartcouponexpireuserqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkcartcouponexpireuserqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkcartcouponexpireuserqueryAPIRequest) GetPageNum ¶ added in v1.3.1
func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaotbkcartcouponexpireuserqueryAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkcartcouponexpireuserqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkcartcouponexpireuserqueryAPIRequest) GetRuleId ¶ added in v1.3.1
func (r TaobaotbkcartcouponexpireuserqueryAPIRequest) GetRuleId() string
GetRuleId RuleId Getter
func (*TaobaotbkcartcouponexpireuserqueryAPIRequest) SetPageNum ¶ added in v1.3.1
func (r *TaobaotbkcartcouponexpireuserqueryAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页码,从0开始
func (*TaobaotbkcartcouponexpireuserqueryAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkcartcouponexpireuserqueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaotbkcartcouponexpireuserqueryAPIRequest) SetRuleId ¶ added in v1.3.1
func (r *TaobaotbkcartcouponexpireuserqueryAPIRequest) SetRuleId(_ruleId string) error
SetRuleId is RuleId Setter 规则ID,由接口提供方分配
type TaobaotbkcartcouponexpireuserqueryAPIResponse ¶ added in v1.3.1
type TaobaotbkcartcouponexpireuserqueryAPIResponse struct { model.CommonResponse TaobaotbkcartcouponexpireuserqueryAPIResponseModel }
TaobaotbkcartcouponexpireuserqueryAPIResponse 购物车催付优惠券到期查询用户信息 API返回值 taobao.tbk.cart.coupon.expire.user.query
购物车催付根据对应规则查询用户信息。
type TaobaotbkcartcouponexpireuserqueryAPIResponseModel ¶ added in v1.3.1
type TaobaotbkcartcouponexpireuserqueryAPIResponseModel struct { XMLName xml.Name `xml:"tbk_cart_coupon_expire_user_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 用户规则信息集合 UserRuleInfoList []UserRuleInfo `json:"user_rule_info_list,omitempty" xml:"user_rule_info_list>user_rule_info,omitempty"` }
TaobaotbkcartcouponexpireuserqueryAPIResponseModel is 购物车催付优惠券到期查询用户信息 成功返回结果
type TaobaotbkcartcouponexpireuserqueryMapData ¶ added in v1.3.1
type TaobaotbkcartcouponexpireuserqueryMapData struct { // 商品ID对应的sku集合 SkuIdList []int64 `json:"sku_id_list,omitempty" xml:"sku_id_list>int64,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TaobaotbkcartcouponexpireuserqueryMapData 结构体
type TaobaotbkcouponconvertAPIRequest ¶ added in v1.3.1
type TaobaotbkcouponconvertAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkcouponconvertAPIRequest 淘宝客-推广者-单品券高效转链 API请求 taobao.tbk.coupon.convert
单品券高效转链API
func NewTaobaotbkcouponconvertRequest ¶ added in v1.3.1
func NewTaobaotbkcouponconvertRequest() *TaobaotbkcouponconvertAPIRequest
NewTaobaotbkcouponconvertRequest 初始化TaobaotbkcouponconvertAPIRequest对象
func (TaobaotbkcouponconvertAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkcouponconvertAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkcouponconvertAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkcouponconvertAPIRequest) GetBizSceneId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetBizSceneId() string
GetBizSceneId BizSceneId Getter
func (TaobaotbkcouponconvertAPIRequest) GetExternalId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaotbkcouponconvertAPIRequest) GetGetTopnRate ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaotbkcouponconvertAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaotbkcouponconvertAPIRequest) GetManageItemPubId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetManageItemPubId() int64
GetManageItemPubId ManageItemPubId Getter
func (TaobaotbkcouponconvertAPIRequest) GetMiniProgramLink ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetMiniProgramLink() int64
GetMiniProgramLink MiniProgramLink Getter
func (TaobaotbkcouponconvertAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkcouponconvertAPIRequest) GetPromotionType ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetPromotionType() string
GetPromotionType PromotionType Getter
func (TaobaotbkcouponconvertAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkcouponconvertAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbkcouponconvertAPIRequest) GetSkuId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaotbkcouponconvertAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaotbkcouponconvertAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaotbkcouponconvertAPIRequest) GetXid ¶ added in v1.3.1
func (r TaobaotbkcouponconvertAPIRequest) GetXid() string
GetXid Xid Getter
func (*TaobaotbkcouponconvertAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 推广位id,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaotbkcouponconvertAPIRequest) SetBizSceneId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetBizSceneId(_bizSceneId string) error
SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景(不填默认为1)
func (*TaobaotbkcouponconvertAPIRequest) SetExternalId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaotbkcouponconvertAPIRequest) SetGetTopnRate ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金 ,0-否,1-是,其他值-否
func (*TaobaotbkcouponconvertAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 淘客商品id
func (*TaobaotbkcouponconvertAPIRequest) SetManageItemPubId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetManageItemPubId(_manageItemPubId int64) error
SetManageItemPubId is ManageItemPubId Setter 商品库服务账户(场景id3权限对应的memberid)
func (*TaobaotbkcouponconvertAPIRequest) SetMiniProgramLink ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
SetMiniProgramLink is MiniProgramLink Setter 是否需要获取小程序链接,需要设置1。(暂未对外开放)
func (*TaobaotbkcouponconvertAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 1:PC,2:无线,默认:1
func (*TaobaotbkcouponconvertAPIRequest) SetPromotionType ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetPromotionType(_promotionType string) error
SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,其它模式不用填写本字段)
func (*TaobaotbkcouponconvertAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道管理ID(如是主站选品推广场景,必须入参该字段,且bizSceneId字段需入参2-消费者比价场景,否则二次转链失败)
func (*TaobaotbkcouponconvertAPIRequest) SetSkuId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 入参商品id下的skuid,传入时会透传至转链结果url中
func (*TaobaotbkcouponconvertAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaotbkcouponconvertAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
func (*TaobaotbkcouponconvertAPIRequest) SetXid ¶ added in v1.3.1
func (r *TaobaotbkcouponconvertAPIRequest) SetXid(_xid string) error
SetXid is Xid Setter 团长与下游渠道合作的特殊标识,用于统计渠道推广效果
type TaobaotbkcouponconvertAPIResponse ¶ added in v1.3.1
type TaobaotbkcouponconvertAPIResponse struct { model.CommonResponse TaobaotbkcouponconvertAPIResponseModel }
TaobaotbkcouponconvertAPIResponse 淘宝客-推广者-单品券高效转链 API返回值 taobao.tbk.coupon.convert
单品券高效转链API
type TaobaotbkcouponconvertAPIResponseModel ¶ added in v1.3.1
type TaobaotbkcouponconvertAPIResponseModel struct { XMLName xml.Name `xml:"tbk_coupon_convert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaotbkcouponconvertRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkcouponconvertAPIResponseModel is 淘宝客-推广者-单品券高效转链 成功返回结果
type TaobaotbkcouponconvertRpcResult ¶ added in v1.3.1
type TaobaotbkcouponconvertRpcResult struct { // 见错误描述 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // data Results *MaterialDto `json:"results,omitempty" xml:"results,omitempty"` // 见错误码描述 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaotbkcouponconvertRpcResult 结构体
type TaobaotbkcoupongetAPIRequest ¶ added in v1.3.1
TaobaotbkcoupongetAPIRequest 淘宝客-公用-阿里妈妈推广券详情查询 API请求 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
func NewTaobaotbkcoupongetRequest ¶ added in v1.3.1
func NewTaobaotbkcoupongetRequest() *TaobaotbkcoupongetAPIRequest
NewTaobaotbkcoupongetRequest 初始化TaobaotbkcoupongetAPIRequest对象
func (TaobaotbkcoupongetAPIRequest) GetActivityId ¶ added in v1.3.1
func (r TaobaotbkcoupongetAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaotbkcoupongetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkcoupongetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkcoupongetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkcoupongetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkcoupongetAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkcoupongetAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaotbkcoupongetAPIRequest) GetMe ¶ added in v1.3.1
func (r TaobaotbkcoupongetAPIRequest) GetMe() string
GetMe Me Getter
func (TaobaotbkcoupongetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkcoupongetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkcoupongetAPIRequest) SetActivityId ¶ added in v1.3.1
func (r *TaobaotbkcoupongetAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 券ID
func (*TaobaotbkcoupongetAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkcoupongetAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID
func (*TaobaotbkcoupongetAPIRequest) SetMe ¶ added in v1.3.1
func (r *TaobaotbkcoupongetAPIRequest) SetMe(_me string) error
SetMe is Me Setter 带券ID与商品ID的加密串
type TaobaotbkcoupongetAPIResponse ¶ added in v1.3.1
type TaobaotbkcoupongetAPIResponse struct { model.CommonResponse TaobaotbkcoupongetAPIResponseModel }
TaobaotbkcoupongetAPIResponse 淘宝客-公用-阿里妈妈推广券详情查询 API返回值 taobao.tbk.coupon.get
传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。
type TaobaotbkcoupongetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkcoupongetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_coupon_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkcoupongetMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkcoupongetAPIResponseModel is 淘宝客-公用-阿里妈妈推广券详情查询 成功返回结果
type TaobaotbkcoupongetMapData ¶ added in v1.3.1
type TaobaotbkcoupongetMapData struct { // 优惠券门槛金额 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券金额 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 券ID CouponActivityId string `json:"coupon_activity_id,omitempty" xml:"coupon_activity_id,omitempty"` // 优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 券类型,1 表示全网公开券,4 表示妈妈渠道券 CouponSrcScene int64 `json:"coupon_src_scene,omitempty" xml:"coupon_src_scene,omitempty"` // 券属性,0表示店铺券,1表示单品券 CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"` }
TaobaotbkcoupongetMapData 结构体
type TaobaotbkdgcpaactivitydetailAPIRequest ¶ added in v1.3.1
type TaobaotbkdgcpaactivitydetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgcpaactivitydetailAPIRequest 淘宝客-推广者-CPA活动执行明细 API请求 taobao.tbk.dg.cpa.activity.detail
淘宝客获取CPA活动具体执行效果的明细数据(含预估和结算维度)
func NewTaobaotbkdgcpaactivitydetailRequest ¶ added in v1.3.1
func NewTaobaotbkdgcpaactivitydetailRequest() *TaobaotbkdgcpaactivitydetailAPIRequest
NewTaobaotbkdgcpaactivitydetailRequest 初始化TaobaotbkdgcpaactivitydetailAPIRequest对象
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetEventId ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetEventId() int64
GetEventId EventId Getter
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetIndicatorAlias ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetIndicatorAlias() string
GetIndicatorAlias IndicatorAlias Getter
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetQueryType ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetRuntime ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetRuntime() string
GetRuntime Runtime Getter
func (TaobaotbkdgcpaactivitydetailAPIRequest) GetStartId ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivitydetailAPIRequest) GetStartId() int64
GetStartId StartId Getter
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetEventId ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetEventId(_eventId int64) error
SetEventId is EventId Setter CPA活动ID
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetIndicatorAlias ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetIndicatorAlias(_indicatorAlias string) error
SetIndicatorAlias is IndicatorAlias Setter CPA活动奖励的统计口径,相关说明见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?#
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页条数
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetQueryType ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 明细类型,1:预估明细,2:结算明细
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetRuntime ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetRuntime(_runtime string) error
SetRuntime is Runtime Setter 指定数据批次号(时间戳)
func (*TaobaotbkdgcpaactivitydetailAPIRequest) SetStartId ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivitydetailAPIRequest) SetStartId(_startId int64) error
SetStartId is StartId Setter 下一页开始查询的记录主键id
type TaobaotbkdgcpaactivitydetailAPIResponse ¶ added in v1.3.1
type TaobaotbkdgcpaactivitydetailAPIResponse struct { model.CommonResponse TaobaotbkdgcpaactivitydetailAPIResponseModel }
TaobaotbkdgcpaactivitydetailAPIResponse 淘宝客-推广者-CPA活动执行明细 API返回值 taobao.tbk.dg.cpa.activity.detail
淘宝客获取CPA活动具体执行效果的明细数据(含预估和结算维度)
type TaobaotbkdgcpaactivitydetailAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgcpaactivitydetailAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_cpa_activity_detail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaotbkdgcpaactivitydetailResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkdgcpaactivitydetailAPIResponseModel is 淘宝客-推广者-CPA活动执行明细 成功返回结果
type TaobaotbkdgcpaactivitydetailResult ¶ added in v1.3.1
type TaobaotbkdgcpaactivitydetailResult struct { // 错误代码 BizErrorFeature string `json:"biz_error_feature,omitempty" xml:"biz_error_feature,omitempty"` // 错误描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 结果信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回素材id Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 结果码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 错误代码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaotbkdgcpaactivitydetailResult 结构体
type TaobaotbkdgcpaactivitydetailResults ¶ added in v1.3.1
type TaobaotbkdgcpaactivitydetailResults struct { // 奖励明细数据,KV结构。字段释义见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?# FieldDetail string `json:"field_detail,omitempty" xml:"field_detail,omitempty"` // 明细类型,1:预估明细,2:结算明细 CalcType int64 `json:"calc_type,omitempty" xml:"calc_type,omitempty"` // 明细记录主键id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
TaobaotbkdgcpaactivitydetailResults 结构体
type TaobaotbkdgcpaactivityreportAPIRequest ¶ added in v1.3.1
type TaobaotbkdgcpaactivityreportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgcpaactivityreportAPIRequest 淘宝客-推广者-任务奖励效果报表 API请求 taobao.tbk.dg.cpa.activity.report
提供给媒体使用的cpa活动报表查询api,当前仅试运行媒体可使用
func NewTaobaotbkdgcpaactivityreportRequest ¶ added in v1.3.1
func NewTaobaotbkdgcpaactivityreportRequest() *TaobaotbkdgcpaactivityreportAPIRequest
NewTaobaotbkdgcpaactivityreportRequest 初始化TaobaotbkdgcpaactivityreportAPIRequest对象
func (TaobaotbkdgcpaactivityreportAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgcpaactivityreportAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgcpaactivityreportAPIRequest) GetBizDate ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetBizDate() string
GetBizDate BizDate Getter
func (TaobaotbkdgcpaactivityreportAPIRequest) GetEventId ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetEventId() int64
GetEventId EventId Getter
func (TaobaotbkdgcpaactivityreportAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgcpaactivityreportAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgcpaactivityreportAPIRequest) GetPid ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaotbkdgcpaactivityreportAPIRequest) GetQueryType ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaotbkdgcpaactivityreportAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgcpaactivityreportAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkdgcpaactivityreportAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetBizDate ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetBizDate(_bizDate string) error
SetBizDate is BizDate Setter 日期(yyyyMMdd)
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetEventId ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetEventId(_eventId int64) error
SetEventId is EventId Setter CPA活动ID,详见https://www.yuque.com/docs/share/16905f3f-3a22-4e7c-b8c3-4d23791d42f7?#
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页页数,从1开始
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetPid ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 媒体三段式id(如果传入pid则返回pid汇总数据,不传则返回member维度统计数据,pid和relationid不可同时传入)
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetQueryType ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 数据类型:数据类型:1预估 2结算 (选择1可查询含当天实时预估统计的累计数据,选择2可查询最晚截止昨天结算的累计数据,具体逻辑以活动规则描述为准;)
func (*TaobaotbkdgcpaactivityreportAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkdgcpaactivityreportAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 代理id(如果传入rid则返回rid统计数据,不传则返回member维度统计数据)
type TaobaotbkdgcpaactivityreportAPIResponse ¶ added in v1.3.1
type TaobaotbkdgcpaactivityreportAPIResponse struct { model.CommonResponse TaobaotbkdgcpaactivityreportAPIResponseModel }
TaobaotbkdgcpaactivityreportAPIResponse 淘宝客-推广者-任务奖励效果报表 API返回值 taobao.tbk.dg.cpa.activity.report
提供给媒体使用的cpa活动报表查询api,当前仅试运行媒体可使用
type TaobaotbkdgcpaactivityreportAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgcpaactivityreportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_cpa_activity_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回模型 Result *TaobaotbkdgcpaactivityreportRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkdgcpaactivityreportAPIResponseModel is 淘宝客-推广者-任务奖励效果报表 成功返回结果
type TaobaotbkdgcpaactivityreportRpcResult ¶ added in v1.3.1
type TaobaotbkdgcpaactivityreportRpcResult struct { // 分页模型 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkdgcpaactivityreportRpcResult 结构体
type TaobaotbkdgmaterialoptionalAPIRequest ¶ added in v1.3.1
type TaobaotbkdgmaterialoptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgmaterialoptionalAPIRequest 淘宝客-推广者-物料搜索 API请求 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
func NewTaobaotbkdgmaterialoptionalRequest ¶ added in v1.3.1
func NewTaobaotbkdgmaterialoptionalRequest() *TaobaotbkdgmaterialoptionalAPIRequest
NewTaobaotbkdgmaterialoptionalRequest 初始化TaobaotbkdgmaterialoptionalAPIRequest对象
func (TaobaotbkdgmaterialoptionalAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgmaterialoptionalAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgmaterialoptionalAPIRequest) GetBizSceneId ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetBizSceneId() string
GetBizSceneId BizSceneId Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetCat ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetCat() string
GetCat Cat Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetCityCode ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetCityCode() string
GetCityCode CityCode Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetEndKaTkRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetEndKaTkRate() int64
GetEndKaTkRate EndKaTkRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetEndPrice ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetEndPrice() int64
GetEndPrice EndPrice Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetEndTkRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetEndTkRate() int64
GetEndTkRate EndTkRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetGetTopnRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetHasCoupon ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetHasCoupon() bool
GetHasCoupon HasCoupon Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIncludeGoodRate() bool
GetIncludeGoodRate IncludeGoodRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIncludePayRate30() bool
GetIncludePayRate30 IncludePayRate30 Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIncludeRfdRate() bool
GetIncludeRfdRate IncludeRfdRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetIp ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetIsOverseas ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetIsTmall ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetItemloc ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetItemloc() string
GetItemloc Itemloc Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetLatitude ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetLockRateEndTime ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLockRateEndTime() int64
GetLockRateEndTime LockRateEndTime Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetLockRateStartTime ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLockRateStartTime() int64
GetLockRateStartTime LockRateStartTime Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetLongitude ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetMaterialId ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetNeedFreeShipment() bool
GetNeedFreeShipment NeedFreeShipment Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetNeedPrepay ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetNeedPrepay() bool
GetNeedPrepay NeedPrepay Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetNpxLevel ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetNpxLevel() int64
GetNpxLevel NpxLevel Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetPageResultKey ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPageResultKey() string
GetPageResultKey PageResultKey Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetPromotionType ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetPromotionType() string
GetPromotionType PromotionType Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetQ ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgmaterialoptionalAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetSellerIds ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetSellerIds() string
GetSellerIds SellerIds Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetSort ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetStartDsr ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartDsr() int64
GetStartDsr StartDsr Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetStartKaTkRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartKaTkRate() int64
GetStartKaTkRate StartKaTkRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetStartPrice ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartPrice() int64
GetStartPrice StartPrice Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetStartTkRate ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetStartTkRate() int64
GetStartTkRate StartTkRate Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaotbkdgmaterialoptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.3.1
func (r TaobaotbkdgmaterialoptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
GetUcrowdRankItems UcrowdRankItems Getter
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_12345678三段式的最后一段数字
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetBizSceneId ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetBizSceneId(_bizSceneId string) error
SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景(不填默认为1)
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetCat ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetCat(_cat string) error
SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetCityCode ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetCityCode(_cityCode string) error
SetCityCode is CityCode Setter 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetEndKaTkRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34%
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetEndPrice ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetEndPrice(_endPrice int64) error
SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetEndTkRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetGetTopnRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息 0否,1是,其他值否
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetHasCoupon ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetIp ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetIsOverseas ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetIsTmall ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetItemloc ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetItemloc(_itemloc string) error
SetItemloc is Itemloc Setter 商品筛选-所在地
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetLatitude ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 本地化业务入参-LBS信息-纬度
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetLockRateEndTime ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
SetLockRateEndTime is LockRateEndTime Setter 锁佣结束时间
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetLockRateStartTime ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
SetLockRateStartTime is LockRateStartTime Setter 锁佣开始时间
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetLongitude ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 本地化业务入参-LBS信息-经度
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetMaterialId ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetNeedPrepay ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetNpxLevel ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetPageResultKey ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetPromotionType ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetPromotionType(_promotionType string) error
SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetQ ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetQ(_q string) error
SetQ is Q Setter 商品筛选-查询词
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetSellerIds ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetSellerIds(_sellerIds string) error
SetSellerIds is SellerIds Setter 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetSort ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetStartDsr ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartDsr(_startDsr int64) error
SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetStartKaTkRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34%
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetStartPrice ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartPrice(_startPrice int64) error
SetStartPrice is StartPrice Setter 商品筛选-折扣价范围下限。单位:元
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetStartTkRate ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaotbkdgmaterialoptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.3.1
func (r *TaobaotbkdgmaterialoptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表
type TaobaotbkdgmaterialoptionalAPIResponse ¶ added in v1.3.1
type TaobaotbkdgmaterialoptionalAPIResponse struct { model.CommonResponse TaobaotbkdgmaterialoptionalAPIResponseModel }
TaobaotbkdgmaterialoptionalAPIResponse 淘宝客-推广者-物料搜索 API返回值 taobao.tbk.dg.material.optional
通用物料搜索API(导购)
type TaobaotbkdgmaterialoptionalAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgmaterialoptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_material_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaotbkdgmaterialoptionalMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkdgmaterialoptional_map_data,omitempty"` // 本地化-lbs分页标识,请在下一次翻页时作为入参传入 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaotbkdgmaterialoptionalAPIResponseModel is 淘宝客-推广者-物料搜索 成功返回结果
type TaobaotbkdgmaterialoptionalMapData ¶ added in v1.3.1
type TaobaotbkdgmaterialoptionalMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 定向计划集合 SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-定向计划信息 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-商品一口价格 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 链接-宝贝地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-宝贝描述(推荐理由) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-销售开始时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 本地化-销售结束时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=预售单单奖励,1=618超级U选单单补 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 榜单url RankPageUrl string `json:"rank_page_url,omitempty" xml:"rank_page_url,omitempty"` // 搜索类型 ItemSearchType string `json:"item_search_type,omitempty" xml:"item_search_type,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNinfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaotbkdgmaterialoptionalMapData 结构体
type TaobaotbkdgnewuserordergetAPIRequest ¶ added in v1.3.1
type TaobaotbkdgnewuserordergetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgnewuserordergetAPIRequest 淘宝客-推广者-新用户订单明细查询 API请求 taobao.tbk.dg.newuser.order.get
拉新API
func NewTaobaotbkdgnewuserordergetRequest ¶ added in v1.3.1
func NewTaobaotbkdgnewuserordergetRequest() *TaobaotbkdgnewuserordergetAPIRequest
NewTaobaotbkdgnewuserordergetRequest 初始化TaobaotbkdgnewuserordergetAPIRequest对象
func (TaobaotbkdgnewuserordergetAPIRequest) GetActivityId ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaotbkdgnewuserordergetAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgnewuserordergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgnewuserordergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgnewuserordergetAPIRequest) GetEndTime ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaotbkdgnewuserordergetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgnewuserordergetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgnewuserordergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgnewuserordergetAPIRequest) GetStartTime ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordergetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaotbkdgnewuserordergetAPIRequest) SetActivityId ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordergetAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 活动id, 活动名称与活动ID列表(该字段已废弃)
func (*TaobaotbkdgnewuserordergetAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordergetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaotbkdgnewuserordergetAPIRequest) SetEndTime ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordergetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
func (*TaobaotbkdgnewuserordergetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordergetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码,默认1
func (*TaobaotbkdgnewuserordergetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordergetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkdgnewuserordergetAPIRequest) SetStartTime ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordergetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
type TaobaotbkdgnewuserordergetAPIResponse ¶ added in v1.3.1
type TaobaotbkdgnewuserordergetAPIResponse struct { model.CommonResponse TaobaotbkdgnewuserordergetAPIResponseModel }
TaobaotbkdgnewuserordergetAPIResponse 淘宝客-推广者-新用户订单明细查询 API返回值 taobao.tbk.dg.newuser.order.get
拉新API
type TaobaotbkdgnewuserordergetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgnewuserordergetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_newuser_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Results *TaobaotbkdgnewuserordergetResults `json:"results,omitempty" xml:"results,omitempty"` }
TaobaotbkdgnewuserordergetAPIResponseModel is 淘宝客-推广者-新用户订单明细查询 成功返回结果
type TaobaotbkdgnewuserordergetData ¶ added in v1.3.1
type TaobaotbkdgnewuserordergetData struct { // resultList Results []TaobaotbkdgnewuserordergetMapData `json:"results,omitempty" xml:"results>taobaotbkdgnewuserorderget_map_data,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaotbkdgnewuserordergetData 结构体
type TaobaotbkdgnewuserordergetMapData ¶ added in v1.3.1
type TaobaotbkdgnewuserordergetMapData struct { // 复购订单,仅适用于手淘拉新 Orders []OrderData `json:"orders,omitempty" xml:"orders>order_data,omitempty"` // 新注册时间,仅淘宝拉新适用 RegisterTime string `json:"register_time,omitempty" xml:"register_time,omitempty"` // 当前活动为淘宝拉新活动时,bind_time为新激活时间; 当前活动为支付宝拉新活动时,bind_time为绑定时间。 BindTime string `json:"bind_time,omitempty" xml:"bind_time,omitempty"` // 首购时间,仅淘宝,天猫拉新适用 BuyTime string `json:"buy_time,omitempty" xml:"buy_time,omitempty"` // 新人手机号 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 分享用户(unionid),仅淘宝,天猫拉新适用 UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 来源媒体名称 MemberNick string `json:"member_nick,omitempty" xml:"member_nick,omitempty"` // 来源站点名称 SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"` // 来源广告位名称 AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"` // 确认收货时间,仅天猫拉新适用 AcceptTime string `json:"accept_time,omitempty" xml:"accept_time,omitempty"` // 领取红包时间,仅天猫拉新适用 ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"` // 拉新成功时间,仅支付宝拉新适用 SuccessTime string `json:"success_time,omitempty" xml:"success_time,omitempty"` // 活动类型,taobao-淘宝 alipay-支付宝 tmall-天猫 ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"` // 活动id ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 日期,格式为"20180202" BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 绑卡日期,仅适用于手淘拉新 BindCardTime string `json:"bind_card_time,omitempty" xml:"bind_card_time,omitempty"` // loginTime LoginTime string `json:"login_time,omitempty" xml:"login_time,omitempty"` // 使用权益时间 UseRightsTime string `json:"use_rights_time,omitempty" xml:"use_rights_time,omitempty"` // 领取权益时间 GetRightsTime string `json:"get_rights_time,omitempty" xml:"get_rights_time,omitempty"` // 渠道关系id RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 新人状态, 当前活动为淘宝拉新活动时,1: 新注册,2:激活,3:首购,4:确认收货; 当前活动为支付宝实名活动时,1:已绑定,2:拉新成功,3:无效用户;当前活动为支付宝新登活动时,3:手淘首购,4:手淘确认收货;当前活动为天猫拉新活动时,2:已领取,3:已首购,4:已收货 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 订单淘客类型:1.淘客订单;2.非淘客订单,仅淘宝,天猫拉新适用 OrderTkType int64 `json:"order_tk_type,omitempty" xml:"order_tk_type,omitempty"` // 来源媒体ID(pid中mm_1_2_3)中第1位 MemberId int64 `json:"member_id,omitempty" xml:"member_id,omitempty"` // 来源站点ID(pid中mm_1_2_3)中第2位 SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 来源广告位ID(pid中mm_1_2_3)中第3位 AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // 淘宝订单id,仅淘宝,天猫拉新适用 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 银行卡是否是绑定状态:1-绑定,0-未绑定 IsCardSave int64 `json:"is_card_save,omitempty" xml:"is_card_save,omitempty"` }
TaobaotbkdgnewuserordergetMapData 结构体
type TaobaotbkdgnewuserordergetResults ¶ added in v1.3.1
type TaobaotbkdgnewuserordergetResults struct { // data Data *TaobaotbkdgnewuserordergetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkdgnewuserordergetResults 结构体
type TaobaotbkdgnewuserordersumAPIRequest ¶ added in v1.3.1
type TaobaotbkdgnewuserordersumAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgnewuserordersumAPIRequest 淘宝客-推广者-拉新活动对应数据查询 API请求 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
func NewTaobaotbkdgnewuserordersumRequest ¶ added in v1.3.1
func NewTaobaotbkdgnewuserordersumRequest() *TaobaotbkdgnewuserordersumAPIRequest
NewTaobaotbkdgnewuserordersumRequest 初始化TaobaotbkdgnewuserordersumAPIRequest对象
func (TaobaotbkdgnewuserordersumAPIRequest) GetActivityId ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetActivityId() string
GetActivityId ActivityId Getter
func (TaobaotbkdgnewuserordersumAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgnewuserordersumAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgnewuserordersumAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgnewuserordersumAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgnewuserordersumAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgnewuserordersumAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgnewuserordersumAPIRequest) GetSettleMonth ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetSettleMonth() string
GetSettleMonth SettleMonth Getter
func (TaobaotbkdgnewuserordersumAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkdgnewuserordersumAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaotbkdgnewuserordersumAPIRequest) SetActivityId ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordersumAPIRequest) SetActivityId(_activityId string) error
SetActivityId is ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277
func (*TaobaotbkdgnewuserordersumAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordersumAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaotbkdgnewuserordersumAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordersumAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码,默认1
func (*TaobaotbkdgnewuserordersumAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordersumAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkdgnewuserordersumAPIRequest) SetSettleMonth ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordersumAPIRequest) SetSettleMonth(_settleMonth string) error
SetSettleMonth is SettleMonth Setter 结算月份
func (*TaobaotbkdgnewuserordersumAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkdgnewuserordersumAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第二位
type TaobaotbkdgnewuserordersumAPIResponse ¶ added in v1.3.1
type TaobaotbkdgnewuserordersumAPIResponse struct { model.CommonResponse TaobaotbkdgnewuserordersumAPIResponseModel }
TaobaotbkdgnewuserordersumAPIResponse 淘宝客-推广者-拉新活动对应数据查询 API返回值 taobao.tbk.dg.newuser.order.sum
拉新活动汇总API
type TaobaotbkdgnewuserordersumAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgnewuserordersumAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_newuser_order_sum_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Results *TaobaotbkdgnewuserordersumData `json:"results,omitempty" xml:"results,omitempty"` }
TaobaotbkdgnewuserordersumAPIResponseModel is 淘宝客-推广者-拉新活动对应数据查询 成功返回结果
type TaobaotbkdgnewuserordersumData ¶ added in v1.3.1
type TaobaotbkdgnewuserordersumData struct { // resultList Results []TaobaotbkdgnewuserordersumData `json:"results,omitempty" xml:"results>taobaotbkdgnewuserordersum_data,omitempty"` // 活动ID ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 日期 BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 结算CPA 奖励金额:仅支持member 维度的统计 AlipayUserCpaPreAmt string `json:"alipay_user_cpa_pre_amt,omitempty" xml:"alipay_user_cpa_pre_amt,omitempty"` // 当日激活且首购结算的CPA 金额:仅适用于八天乐,仅支持member维度的统计 BindBuyUserCpaPreAmt string `json:"bind_buy_user_cpa_pre_amt,omitempty" xml:"bind_buy_user_cpa_pre_amt,omitempty"` // 渠道关系id RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // data Data *TaobaotbkdgnewuserordersumData `json:"data,omitempty" xml:"data,omitempty"` // 页码 PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 每页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 新注册用户数 RegUserCnt int64 `json:"reg_user_cnt,omitempty" xml:"reg_user_cnt,omitempty"` // 新激活用户数 LoginUserCnt int64 `json:"login_user_cnt,omitempty" xml:"login_user_cnt,omitempty"` // 首购用户数 AlipayUserCnt int64 `json:"alipay_user_cnt,omitempty" xml:"alipay_user_cnt,omitempty"` // 结算有效用户数 RcvValidUserCnt int64 `json:"rcv_valid_user_cnt,omitempty" xml:"rcv_valid_user_cnt,omitempty"` // 确认收货用户数 RcvUserCnt int64 `json:"rcv_user_cnt,omitempty" xml:"rcv_user_cnt,omitempty"` // 当日激活且首购的有效用户数:仅适用于八天乐,支持member,adzone维度的统计 BindBuyValidUserCnt int64 `json:"bind_buy_valid_user_cnt,omitempty" xml:"bind_buy_valid_user_cnt,omitempty"` // bindCardValidUserCnt BindCardValidUserCnt int64 `json:"bind_card_valid_user_cnt,omitempty" xml:"bind_card_valid_user_cnt,omitempty"` // reBuyValidUserCnt ReBuyValidUserCnt int64 `json:"re_buy_valid_user_cnt,omitempty" xml:"re_buy_valid_user_cnt,omitempty"` // validNum ValidNum int64 `json:"valid_num,omitempty" xml:"valid_num,omitempty"` // 是否有下一页 HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"` }
TaobaotbkdgnewuserordersumData 结构体
type TaobaotbkdgoptimusmaterialAPIRequest ¶ added in v1.3.1
type TaobaotbkdgoptimusmaterialAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgoptimusmaterialAPIRequest 淘宝客-推广者-物料精选 API请求 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaotbkdgoptimusmaterialRequest ¶ added in v1.3.1
func NewTaobaotbkdgoptimusmaterialRequest() *TaobaotbkdgoptimusmaterialAPIRequest
NewTaobaotbkdgoptimusmaterialRequest 初始化TaobaotbkdgoptimusmaterialAPIRequest对象
func (TaobaotbkdgoptimusmaterialAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgoptimusmaterialAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgoptimusmaterialAPIRequest) GetContentId ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetContentId() int64
GetContentId ContentId Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetContentSource ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetContentSource() string
GetContentSource ContentSource Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceEncrypt ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetFavoritesId ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetFavoritesId() string
GetFavoritesId FavoritesId Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetMaterialId ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgoptimusmaterialAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgoptimusmaterialAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetContentId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetContentId(_contentId int64) error
SetContentId is ContentId Setter 内容专用-内容详情ID
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetContentSource ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetContentSource(_contentSource string) error
SetContentSource is ContentSource Setter 内容专用-内容渠道信息
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceEncrypt ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetFavoritesId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetFavoritesId(_favoritesId string) error
SetFavoritesId is FavoritesId Setter 选品库投放id
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID,用于相似商品推荐
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetMaterialId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 官方的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaotbkdgoptimusmaterialAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgoptimusmaterialAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
type TaobaotbkdgoptimusmaterialAPIResponse ¶ added in v1.3.1
type TaobaotbkdgoptimusmaterialAPIResponse struct { model.CommonResponse TaobaotbkdgoptimusmaterialAPIResponseModel }
TaobaotbkdgoptimusmaterialAPIResponse 淘宝客-推广者-物料精选 API返回值 taobao.tbk.dg.optimus.material
支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaotbkdgoptimusmaterialAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgoptimusmaterialAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_optimus_material_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaotbkdgoptimusmaterialMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkdgoptimusmaterial_map_data,omitempty"` // 推荐信息-是否抄底 IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"` // 商品总数-目前只有全品库商品查询有该字段 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaotbkdgoptimusmaterialAPIResponseModel is 淘宝客-推广者-物料精选 成功返回结果
type TaobaotbkdgoptimusmaterialMapData ¶ added in v1.3.1
type TaobaotbkdgoptimusmaterialMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 商品信息-商品关联词 WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"` // 定向计划集合 SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-佣金比率(%) CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 链接-宝贝+券二合一页面链接(该字段废弃,请勿再用) CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 链接-宝贝推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 商品信息-新人价 NewUserPrice string `json:"new_user_price,omitempty" xml:"new_user_price,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商品信息-一口价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 聚划算信息-聚淘结束时间 JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 聚划算信息-聚淘开始时间 JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 猫超玩法信息-活动结束时间,精确到毫秒 MaochaoPlayEndTime string `json:"maochao_play_end_time,omitempty" xml:"maochao_play_end_time,omitempty"` // 猫超玩法信息-活动开始时间,精确到毫秒 MaochaoPlayStartTime string `json:"maochao_play_start_time,omitempty" xml:"maochao_play_start_time,omitempty"` // 猫超玩法信息-折扣条件,价格百分数存储,件数按数量存储。可以有多个折扣条件,与折扣字段对应,','分割 MaochaoPlayConditions string `json:"maochao_play_conditions,omitempty" xml:"maochao_play_conditions,omitempty"` // 猫超玩法信息-折扣,折扣按照百分数存储,其余按照单位分存储。可以有多个折扣,','分割 MaochaoPlayDiscounts string `json:"maochao_play_discounts,omitempty" xml:"maochao_play_discounts,omitempty"` // 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元) MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"` // 猫超玩法信息-当前是否包邮,1:是,0:否 MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,omitempty"` // 多件券优惠比例 MultiCouponZkRate string `json:"multi_coupon_zk_rate,omitempty" xml:"multi_coupon_zk_rate,omitempty"` // 多件券件单价 PriceAfterMultiCoupon string `json:"price_after_multi_coupon,omitempty" xml:"price_after_multi_coupon,omitempty"` // 多件券单品件数 MultiCouponItemCount string `json:"multi_coupon_item_count,omitempty" xml:"multi_coupon_item_count,omitempty"` // 锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 满减满折的类型(1. 满减 2. 满折) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 满减满折信息 PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"` // 满减满折门槛(满2件打5折中值为2;满300减20中值为300) PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"` // 满减满折优惠(满2件打5折中值为5;满300减20中值为20) PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 1聚划算满减:满N件减X元,满N件X折,满N件X元) 2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元) PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 聚划算信息-商品预热开始时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 聚划算信息-商品预热结束时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 活动价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 商品子标题 SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // 聚划算商品价格卖点描述 JhsPriceUspList string `json:"jhs_price_usp_list,omitempty" xml:"jhs_price_usp_list,omitempty"` // 淘抢购商品专用-结束时间 TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"` // 淘抢购商品专用-开团时间 TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 商品信息-30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 聚划算满减 -结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 聚划算满减 -开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 选品库信息 FavoritesInfo *FavoritesInfo `json:"favorites_info,omitempty" xml:"favorites_info,omitempty"` // 淘抢购商品专用-已抢购数量 TqgSoldCount int64 `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"` // 淘抢购商品专用-总库存 TqgTotalCount int64 `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNinfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaotbkdgoptimusmaterialMapData 结构体
type TaobaotbkdgoptimuspromotionAPIRequest ¶ added in v1.3.1
type TaobaotbkdgoptimuspromotionAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgoptimuspromotionAPIRequest 淘宝客-推广者-权益物料精选 API请求 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
func NewTaobaotbkdgoptimuspromotionRequest ¶ added in v1.3.1
func NewTaobaotbkdgoptimuspromotionRequest() *TaobaotbkdgoptimuspromotionAPIRequest
NewTaobaotbkdgoptimuspromotionRequest 初始化TaobaotbkdgoptimuspromotionAPIRequest对象
func (TaobaotbkdgoptimuspromotionAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgoptimuspromotionAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgoptimuspromotionAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgoptimuspromotionAPIRequest) GetPageNum ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaotbkdgoptimuspromotionAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgoptimuspromotionAPIRequest) GetPromotionId ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetPromotionId() int64
GetPromotionId PromotionId Getter
func (TaobaotbkdgoptimuspromotionAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgoptimuspromotionAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkdgoptimuspromotionAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkdgoptimuspromotionAPIRequest) SetPageNum ¶ added in v1.3.1
func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 第几页,默认:1
func (*TaobaotbkdgoptimuspromotionAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,一次请求请限制在10以内
func (*TaobaotbkdgoptimuspromotionAPIRequest) SetPromotionId ¶ added in v1.3.1
func (r *TaobaotbkdgoptimuspromotionAPIRequest) SetPromotionId(_promotionId int64) error
SetPromotionId is PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116、天猫店铺券-62191、券券补-61809 更多权益物料id敬请期待!
type TaobaotbkdgoptimuspromotionAPIResponse ¶ added in v1.3.1
type TaobaotbkdgoptimuspromotionAPIResponse struct { model.CommonResponse TaobaotbkdgoptimuspromotionAPIResponseModel }
TaobaotbkdgoptimuspromotionAPIResponse 淘宝客-推广者-权益物料精选 API返回值 taobao.tbk.dg.optimus.promotion
推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
type TaobaotbkdgoptimuspromotionAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgoptimuspromotionAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_optimus_promotion_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaotbkdgoptimuspromotionMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkdgoptimuspromotion_map_data,omitempty"` }
TaobaotbkdgoptimuspromotionAPIResponseModel is 淘宝客-推广者-权益物料精选 成功返回结果
type TaobaotbkdgoptimuspromotionMapData ¶ added in v1.3.1
type TaobaotbkdgoptimuspromotionMapData struct { // 权益信息 PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"` // 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 优惠门槛类型: 1 满元 2 满件 ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"` // 优惠类型: 1 减钱 2 打折 DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 权益信息展示开始时间,精确到毫秒时间戳 DisplayStartTime string `json:"display_start_time,omitempty" xml:"display_start_time,omitempty"` // 权益信息展示结束时间,精确到毫秒时间戳 DisplayEndTime string `json:"display_end_time,omitempty" xml:"display_end_time,omitempty"` // 店铺信息-卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺信息-店铺logo ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"` // 权益信息-总量(权益初始库存量) TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 权益信息-剩余库存(权益剩余库存量) RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"` // 权益扩展信息 PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"` }
TaobaotbkdgoptimuspromotionMapData 结构体
type TaobaotbkdgpunishordergetAPIRequest ¶ added in v1.3.1
type TaobaotbkdgpunishordergetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgpunishordergetAPIRequest 淘宝客-推广者-处罚订单查询 API请求 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
func NewTaobaotbkdgpunishordergetRequest ¶ added in v1.3.1
func NewTaobaotbkdgpunishordergetRequest() *TaobaotbkdgpunishordergetAPIRequest
NewTaobaotbkdgpunishordergetRequest 初始化TaobaotbkdgpunishordergetAPIRequest对象
func (TaobaotbkdgpunishordergetAPIRequest) GetAfOrderOption ¶ added in v1.3.1
func (r TaobaotbkdgpunishordergetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
GetAfOrderOption AfOrderOption Getter
func (TaobaotbkdgpunishordergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgpunishordergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgpunishordergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgpunishordergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgpunishordergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgpunishordergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkdgpunishordergetAPIRequest) SetAfOrderOption ¶ added in v1.3.1
func (r *TaobaotbkdgpunishordergetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
SetAfOrderOption is AfOrderOption Setter 入参的对象
type TaobaotbkdgpunishordergetAPIResponse ¶ added in v1.3.1
type TaobaotbkdgpunishordergetAPIResponse struct { model.CommonResponse TaobaotbkdgpunishordergetAPIResponseModel }
TaobaotbkdgpunishordergetAPIResponse 淘宝客-推广者-处罚订单查询 API返回值 taobao.tbk.dg.punish.order.get
新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的
type TaobaotbkdgpunishordergetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgpunishordergetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_punish_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询的对象 Result *TaobaotbkdgpunishordergetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkdgpunishordergetAPIResponseModel is 淘宝客-推广者-处罚订单查询 成功返回结果
type TaobaotbkdgpunishordergetResult ¶ added in v1.3.1
type TaobaotbkdgpunishordergetResult struct { // 淘宝联盟unionid(该字段不再支持) UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 处罚状态。0 冻结,1 解冻 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 处罚类型,目前包括 1.店铺淘宝客 2.订单虚假交易 ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 淘客订单创建时间 TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"` // pid里的pubid TkPubId string `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` // 会员运营id(该字段不再支持) SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 结算月份 SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 父订单号(该字段不再支持) TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pid里的adzoneid TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"` // pid里的siteid TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"` }
TaobaotbkdgpunishordergetResult 结构体
type TaobaotbkdgpunishordergetRpcResult ¶ added in v1.3.1
type TaobaotbkdgpunishordergetRpcResult struct { // 业务出错的描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 执行结果 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 结果 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 业务出错的状态码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 执行结果状态码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaotbkdgpunishordergetRpcResult 结构体
type TaobaotbkdgtpwdreportgetAPIRequest ¶ added in v1.3.1
type TaobaotbkdgtpwdreportgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgtpwdreportgetAPIRequest 淘宝客-推广者-淘口令回流数据查询 API请求 taobao.tbk.dg.tpwd.report.get
淘宝客获取单个淘口令的回流PV、UV数据。
func NewTaobaotbkdgtpwdreportgetRequest ¶ added in v1.3.1
func NewTaobaotbkdgtpwdreportgetRequest() *TaobaotbkdgtpwdreportgetAPIRequest
NewTaobaotbkdgtpwdreportgetRequest 初始化TaobaotbkdgtpwdreportgetAPIRequest对象
func (TaobaotbkdgtpwdreportgetAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgtpwdreportgetAPIRequest) GetAdzoneId() string
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgtpwdreportgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgtpwdreportgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgtpwdreportgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgtpwdreportgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgtpwdreportgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgtpwdreportgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgtpwdreportgetAPIRequest) GetTaoPassword ¶ added in v1.3.1
func (r TaobaotbkdgtpwdreportgetAPIRequest) GetTaoPassword() string
GetTaoPassword TaoPassword Getter
func (*TaobaotbkdgtpwdreportgetAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgtpwdreportgetAPIRequest) SetAdzoneId(_adzoneId string) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkdgtpwdreportgetAPIRequest) SetTaoPassword ¶ added in v1.3.1
func (r *TaobaotbkdgtpwdreportgetAPIRequest) SetTaoPassword(_taoPassword string) error
SetTaoPassword is TaoPassword Setter 待查询的口令
type TaobaotbkdgtpwdreportgetAPIResponse ¶ added in v1.3.1
type TaobaotbkdgtpwdreportgetAPIResponse struct { model.CommonResponse TaobaotbkdgtpwdreportgetAPIResponseModel }
TaobaotbkdgtpwdreportgetAPIResponse 淘宝客-推广者-淘口令回流数据查询 API返回值 taobao.tbk.dg.tpwd.report.get
淘宝客获取单个淘口令的回流PV、UV数据。
type TaobaotbkdgtpwdreportgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgtpwdreportgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_tpwd_report_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Data *TaobaotbkdgtpwdreportgetMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkdgtpwdreportgetAPIResponseModel is 淘宝客-推广者-淘口令回流数据查询 成功返回结果
type TaobaotbkdgtpwdreportgetMapData ¶ added in v1.3.1
type TaobaotbkdgtpwdreportgetMapData struct { // 截止查询时刻近1小时回流pv HourPv int64 `json:"hour_pv,omitempty" xml:"hour_pv,omitempty"` // 截止查询时刻近1小时回流uv HourUv int64 `json:"hour_uv,omitempty" xml:"hour_uv,omitempty"` // 今日截止查询时刻累计uv Uv int64 `json:"uv,omitempty" xml:"uv,omitempty"` // 今日截止查询时刻累计pv Pv int64 `json:"pv,omitempty" xml:"pv,omitempty"` }
TaobaotbkdgtpwdreportgetMapData 结构体
type TaobaotbkdgtpwdriskreportAPIRequest ¶ added in v1.3.1
type TaobaotbkdgtpwdriskreportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgtpwdriskreportAPIRequest 淘宝客-推广者-淘口令预警及拦截查询 API请求 taobao.tbk.dg.tpwd.risk.report
淘宝客-推广者-淘口令预警及拦截查询
func NewTaobaotbkdgtpwdriskreportRequest ¶ added in v1.3.1
func NewTaobaotbkdgtpwdriskreportRequest() *TaobaotbkdgtpwdriskreportAPIRequest
NewTaobaotbkdgtpwdriskreportRequest 初始化TaobaotbkdgtpwdriskreportAPIRequest对象
func (TaobaotbkdgtpwdriskreportAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgtpwdriskreportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgtpwdriskreportAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgtpwdriskreportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgtpwdriskreportAPIRequest) GetLimit ¶ added in v1.3.1
func (r TaobaotbkdgtpwdriskreportAPIRequest) GetLimit() int64
GetLimit Limit Getter
func (TaobaotbkdgtpwdriskreportAPIRequest) GetOffset ¶ added in v1.3.1
func (r TaobaotbkdgtpwdriskreportAPIRequest) GetOffset() int64
GetOffset Offset Getter
func (TaobaotbkdgtpwdriskreportAPIRequest) GetPid ¶ added in v1.3.1
func (r TaobaotbkdgtpwdriskreportAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaotbkdgtpwdriskreportAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgtpwdriskreportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkdgtpwdriskreportAPIRequest) SetLimit ¶ added in v1.3.1
func (r *TaobaotbkdgtpwdriskreportAPIRequest) SetLimit(_limit int64) error
SetLimit is Limit Setter 分页参数,一次最多不能超过1000
func (*TaobaotbkdgtpwdriskreportAPIRequest) SetOffset ¶ added in v1.3.1
func (r *TaobaotbkdgtpwdriskreportAPIRequest) SetOffset(_offset int64) error
SetOffset is Offset Setter 分页参数
func (*TaobaotbkdgtpwdriskreportAPIRequest) SetPid ¶ added in v1.3.1
func (r *TaobaotbkdgtpwdriskreportAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 如有pid,则查询pid下的relationid名单;如没有pid,则查询appkey关联userid下的pid名单
type TaobaotbkdgtpwdriskreportAPIResponse ¶ added in v1.3.1
type TaobaotbkdgtpwdriskreportAPIResponse struct { model.CommonResponse TaobaotbkdgtpwdriskreportAPIResponseModel }
TaobaotbkdgtpwdriskreportAPIResponse 淘宝客-推广者-淘口令预警及拦截查询 API返回值 taobao.tbk.dg.tpwd.risk.report
淘宝客-推广者-淘口令预警及拦截查询
type TaobaotbkdgtpwdriskreportAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgtpwdriskreportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_tpwd_risk_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无 Result *TaobaotbkdgtpwdriskreportResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkdgtpwdriskreportAPIResponseModel is 淘宝客-推广者-淘口令预警及拦截查询 成功返回结果
type TaobaotbkdgtpwdriskreportResult ¶ added in v1.3.1
type TaobaotbkdgtpwdriskreportResult struct { // x StatusList []DataMap `json:"status_list,omitempty" xml:"status_list>data_map,omitempty"` }
TaobaotbkdgtpwdriskreportResult 结构体
type TaobaotbkdgvegassendreportAPIRequest ¶ added in v1.3.1
type TaobaotbkdgvegassendreportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgvegassendreportAPIRequest 淘宝客-推广者-查询红包发放个数 API请求 taobao.tbk.dg.vegas.send.report
查询账号下的红包发放个数。
func NewTaobaotbkdgvegassendreportRequest ¶ added in v1.3.1
func NewTaobaotbkdgvegassendreportRequest() *TaobaotbkdgvegassendreportAPIRequest
NewTaobaotbkdgvegassendreportRequest 初始化TaobaotbkdgvegassendreportAPIRequest对象
func (TaobaotbkdgvegassendreportAPIRequest) GetActivityCategory ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetActivityCategory() int64
GetActivityCategory ActivityCategory Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetActivityId ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetActivityId() int64
GetActivityId ActivityId Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgvegassendreportAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgvegassendreportAPIRequest) GetBizDate ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetBizDate() string
GetBizDate BizDate Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetPid ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgvegassendreportAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaotbkdgvegassendreportAPIRequest) GetRptDim ¶ added in v1.3.1
func (r TaobaotbkdgvegassendreportAPIRequest) GetRptDim() string
GetRptDim RptDim Getter
func (*TaobaotbkdgvegassendreportAPIRequest) SetActivityCategory ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetActivityCategory(_activityCategory int64) error
SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据
func (*TaobaotbkdgvegassendreportAPIRequest) SetActivityId ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetActivityId(_activityId int64) error
SetActivityId is ActivityId Setter 已下线,后续不需要填写
func (*TaobaotbkdgvegassendreportAPIRequest) SetBizDate ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetBizDate(_bizDate string) error
SetBizDate is BizDate Setter 统计日期
func (*TaobaotbkdgvegassendreportAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaotbkdgvegassendreportAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaotbkdgvegassendreportAPIRequest) SetPid ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 媒体推广pid
func (*TaobaotbkdgvegassendreportAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
func (*TaobaotbkdgvegassendreportAPIRequest) SetRptDim ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendreportAPIRequest) SetRptDim(_rptDim string) error
SetRptDim is RptDim Setter 查询维度,不填写默认是pid维度
type TaobaotbkdgvegassendreportAPIResponse ¶ added in v1.3.1
type TaobaotbkdgvegassendreportAPIResponse struct { model.CommonResponse TaobaotbkdgvegassendreportAPIResponseModel }
TaobaotbkdgvegassendreportAPIResponse 淘宝客-推广者-查询红包发放个数 API返回值 taobao.tbk.dg.vegas.send.report
查询账号下的红包发放个数。
type TaobaotbkdgvegassendreportAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgvegassendreportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_send_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaobaotbkdgvegassendreportResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkdgvegassendreportAPIResponseModel is 淘宝客-推广者-查询红包发放个数 成功返回结果
type TaobaotbkdgvegassendreportResult ¶ added in v1.3.1
type TaobaotbkdgvegassendreportResult struct { // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // model Model *RightsSendRptDto `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaotbkdgvegassendreportResult 结构体
type TaobaotbkdgvegassendstatusAPIRequest ¶ added in v1.3.1
type TaobaotbkdgvegassendstatusAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgvegassendstatusAPIRequest 淘宝客-推广者-红包领取状态查询 API请求 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaotbkdgvegassendstatusRequest ¶ added in v1.3.1
func NewTaobaotbkdgvegassendstatusRequest() *TaobaotbkdgvegassendstatusAPIRequest
NewTaobaotbkdgvegassendstatusRequest 初始化TaobaotbkdgvegassendstatusAPIRequest对象
func (TaobaotbkdgvegassendstatusAPIRequest) GetActivityCategory ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetActivityCategory() int64
GetActivityCategory ActivityCategory Getter
func (TaobaotbkdgvegassendstatusAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgvegassendstatusAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgvegassendstatusAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkdgvegassendstatusAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkdgvegassendstatusAPIRequest) GetPid ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaotbkdgvegassendstatusAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgvegassendstatusAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbkdgvegassendstatusAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaotbkdgvegassendstatusAPIRequest) GetThorBizCode ¶ added in v1.3.1
func (r TaobaotbkdgvegassendstatusAPIRequest) GetThorBizCode() string
GetThorBizCode ThorBizCode Getter
func (*TaobaotbkdgvegassendstatusAPIRequest) SetActivityCategory ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetActivityCategory(_activityCategory int64) error
SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据
func (*TaobaotbkdgvegassendstatusAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE
func (*TaobaotbkdgvegassendstatusAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 加密后的值,需用MD5加密,32位小写
func (*TaobaotbkdgvegassendstatusAPIRequest) SetPid ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 媒体pid
func (*TaobaotbkdgvegassendstatusAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道管理id
func (*TaobaotbkdgvegassendstatusAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营id
func (*TaobaotbkdgvegassendstatusAPIRequest) SetThorBizCode ¶ added in v1.3.1
func (r *TaobaotbkdgvegassendstatusAPIRequest) SetThorBizCode(_thorBizCode string) error
SetThorBizCode is ThorBizCode Setter 已废弃,请勿传入
type TaobaotbkdgvegassendstatusAPIResponse ¶ added in v1.3.1
type TaobaotbkdgvegassendstatusAPIResponse struct { model.CommonResponse TaobaotbkdgvegassendstatusAPIResponseModel }
TaobaotbkdgvegassendstatusAPIResponse 淘宝客-推广者-红包领取状态查询 API返回值 taobao.tbk.dg.vegas.send.status
淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaotbkdgvegassendstatusAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgvegassendstatusAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_send_status_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果描述信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回结果封装对象 Data *TaobaotbkdgvegassendstatusData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkdgvegassendstatusAPIResponseModel is 淘宝客-推广者-红包领取状态查询 成功返回结果
type TaobaotbkdgvegassendstatusData ¶ added in v1.3.1
type TaobaotbkdgvegassendstatusData struct { // 返回结果封装对象 ResultList []TaobaotbkdgvegassendstatusMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkdgvegassendstatus_map_data,omitempty"` }
TaobaotbkdgvegassendstatusData 结构体
type TaobaotbkdgvegassendstatusMapData ¶ added in v1.3.1
type TaobaotbkdgvegassendstatusMapData struct { // 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0 IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"` }
TaobaotbkdgvegassendstatusMapData 结构体
type TaobaotbkdgvegastljcreateAPIRequest ¶ added in v1.3.1
type TaobaotbkdgvegastljcreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgvegastljcreateAPIRequest 淘宝客-推广者-淘礼金创建 API请求 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
func NewTaobaotbkdgvegastljcreateRequest ¶ added in v1.3.1
func NewTaobaotbkdgvegastljcreateRequest() *TaobaotbkdgvegastljcreateAPIRequest
NewTaobaotbkdgvegastljcreateRequest 初始化TaobaotbkdgvegastljcreateAPIRequest对象
func (TaobaotbkdgvegastljcreateAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgvegastljcreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgvegastljcreateAPIRequest) GetCampaignType ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetCampaignType() string
GetCampaignType CampaignType Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetName() string
GetName Name Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetPerFace ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetPerFace() string
GetPerFace PerFace Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgvegastljcreateAPIRequest) GetSecurityLevel ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetSecurityLevel() int64
GetSecurityLevel SecurityLevel Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetSecuritySwitch ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetSecuritySwitch() bool
GetSecuritySwitch SecuritySwitch Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetSendEndTime ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetSendEndTime() string
GetSendEndTime SendEndTime Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetSendStartTime ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetSendStartTime() string
GetSendStartTime SendStartTime Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetTotalNum ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetTotalNum() int64
GetTotalNum TotalNum Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetUseEndTime ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetUseEndTime() string
GetUseEndTime UseEndTime Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetUseEndTimeMode ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetUseEndTimeMode() int64
GetUseEndTimeMode UseEndTimeMode Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetUseStartTime ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetUseStartTime() string
GetUseStartTime UseStartTime Getter
func (TaobaotbkdgvegastljcreateAPIRequest) GetUserTotalWinNumLimit ¶ added in v1.3.1
func (r TaobaotbkdgvegastljcreateAPIRequest) GetUserTotalWinNumLimit() int64
GetUserTotalWinNumLimit UserTotalWinNumLimit Getter
func (*TaobaotbkdgvegastljcreateAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 妈妈广告位Id
func (*TaobaotbkdgvegastljcreateAPIRequest) SetCampaignType ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetCampaignType(_campaignType string) error
SetCampaignType is CampaignType Setter 已下线,后续不需要填写
func (*TaobaotbkdgvegastljcreateAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 宝贝ID或营销ID
func (*TaobaotbkdgvegastljcreateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetName(_name string) error
SetName is Name Setter 淘礼金名称,最大10个字符
func (*TaobaotbkdgvegastljcreateAPIRequest) SetPerFace ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetPerFace(_perFace string) error
SetPerFace is PerFace Setter 单个淘礼金面额,支持两位小数,单位元
func (*TaobaotbkdgvegastljcreateAPIRequest) SetSecurityLevel ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSecurityLevel(_securityLevel int64) error
SetSecurityLevel is SecurityLevel Setter 必须传入0
func (*TaobaotbkdgvegastljcreateAPIRequest) SetSecuritySwitch ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error
SetSecuritySwitch is SecuritySwitch Setter 必须设置为true,默认开启安全
func (*TaobaotbkdgvegastljcreateAPIRequest) SetSendEndTime ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSendEndTime(_sendEndTime string) error
SetSendEndTime is SendEndTime Setter 发放截止时间
func (*TaobaotbkdgvegastljcreateAPIRequest) SetSendStartTime ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetSendStartTime(_sendStartTime string) error
SetSendStartTime is SendStartTime Setter 发放开始时间
func (*TaobaotbkdgvegastljcreateAPIRequest) SetTotalNum ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetTotalNum(_totalNum int64) error
SetTotalNum is TotalNum Setter 淘礼金总个数
func (*TaobaotbkdgvegastljcreateAPIRequest) SetUseEndTime ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUseEndTime(_useEndTime string) error
SetUseEndTime is UseEndTime Setter 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
func (*TaobaotbkdgvegastljcreateAPIRequest) SetUseEndTimeMode ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error
SetUseEndTimeMode is UseEndTimeMode Setter 结束日期的模式,1:相对时间,2:绝对时间
func (*TaobaotbkdgvegastljcreateAPIRequest) SetUseStartTime ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUseStartTime(_useStartTime string) error
SetUseStartTime is UseStartTime Setter 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
func (*TaobaotbkdgvegastljcreateAPIRequest) SetUserTotalWinNumLimit ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljcreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error
SetUserTotalWinNumLimit is UserTotalWinNumLimit Setter 单用户累计中奖次数上限
type TaobaotbkdgvegastljcreateAPIResponse ¶ added in v1.3.1
type TaobaotbkdgvegastljcreateAPIResponse struct { model.CommonResponse TaobaotbkdgvegastljcreateAPIResponseModel }
TaobaotbkdgvegastljcreateAPIResponse 淘宝客-推广者-淘礼金创建 API返回值 taobao.tbk.dg.vegas.tlj.create
创建淘礼金
type TaobaotbkdgvegastljcreateAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgvegastljcreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaotbkdgvegastljcreateResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkdgvegastljcreateAPIResponseModel is 淘宝客-推广者-淘礼金创建 成功返回结果
type TaobaotbkdgvegastljcreateResult ¶ added in v1.3.1
type TaobaotbkdgvegastljcreateResult struct { // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // model Model *RightsInstanceCreateResult `json:"model,omitempty" xml:"model,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaotbkdgvegastljcreateResult 结构体
type TaobaotbkdgvegastljreportAPIRequest ¶ added in v1.3.1
type TaobaotbkdgvegastljreportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgvegastljreportAPIRequest 淘宝客-推广者-淘礼金效果数据 API请求 taobao.tbk.dg.vegas.tlj.report
淘宝客推广者可查询淘礼金发放和使用等效果数据,只提供近150天的数据
func NewTaobaotbkdgvegastljreportRequest ¶ added in v1.3.1
func NewTaobaotbkdgvegastljreportRequest() *TaobaotbkdgvegastljreportAPIRequest
NewTaobaotbkdgvegastljreportRequest 初始化TaobaotbkdgvegastljreportAPIRequest对象
func (TaobaotbkdgvegastljreportAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgvegastljreportAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgvegastljreportAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgvegastljreportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgvegastljreportAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgvegastljreportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgvegastljreportAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgvegastljreportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgvegastljreportAPIRequest) GetRightsId ¶ added in v1.3.1
func (r TaobaotbkdgvegastljreportAPIRequest) GetRightsId() string
GetRightsId RightsId Getter
func (*TaobaotbkdgvegastljreportAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljreportAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter adzoneId
func (*TaobaotbkdgvegastljreportAPIRequest) SetRightsId ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljreportAPIRequest) SetRightsId(_rightsId string) error
SetRightsId is RightsId Setter 创建淘礼金时返回的rightsId
type TaobaotbkdgvegastljreportAPIResponse ¶ added in v1.3.1
type TaobaotbkdgvegastljreportAPIResponse struct { model.CommonResponse TaobaotbkdgvegastljreportAPIResponseModel }
TaobaotbkdgvegastljreportAPIResponse 淘宝客-推广者-淘礼金效果数据 API返回值 taobao.tbk.dg.vegas.tlj.report
淘宝客推广者可查询淘礼金发放和使用等效果数据,只提供近150天的数据
type TaobaotbkdgvegastljreportAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgvegastljreportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 结果 Model *InstanceDto `json:"model,omitempty" xml:"model,omitempty"` // 调用接口是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
TaobaotbkdgvegastljreportAPIResponseModel is 淘宝客-推广者-淘礼金效果数据 成功返回结果
type TaobaotbkdgvegastljstopAPIRequest ¶ added in v1.3.1
type TaobaotbkdgvegastljstopAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkdgvegastljstopAPIRequest 淘宝客-推广者-淘礼金暂停发放 API请求 taobao.tbk.dg.vegas.tlj.stop
淘宝客推广者可对已经创建的淘礼金暂停发放
func NewTaobaotbkdgvegastljstopRequest ¶ added in v1.3.1
func NewTaobaotbkdgvegastljstopRequest() *TaobaotbkdgvegastljstopAPIRequest
NewTaobaotbkdgvegastljstopRequest 初始化TaobaotbkdgvegastljstopAPIRequest对象
func (TaobaotbkdgvegastljstopAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkdgvegastljstopAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkdgvegastljstopAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkdgvegastljstopAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkdgvegastljstopAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkdgvegastljstopAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkdgvegastljstopAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkdgvegastljstopAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkdgvegastljstopAPIRequest) GetRightsId ¶ added in v1.3.1
func (r TaobaotbkdgvegastljstopAPIRequest) GetRightsId() string
GetRightsId RightsId Getter
func (*TaobaotbkdgvegastljstopAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljstopAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter adzoneId
func (*TaobaotbkdgvegastljstopAPIRequest) SetRightsId ¶ added in v1.3.1
func (r *TaobaotbkdgvegastljstopAPIRequest) SetRightsId(_rightsId string) error
SetRightsId is RightsId Setter 创建淘礼金时返回的rightsId
type TaobaotbkdgvegastljstopAPIResponse ¶ added in v1.3.1
type TaobaotbkdgvegastljstopAPIResponse struct { model.CommonResponse TaobaotbkdgvegastljstopAPIResponseModel }
TaobaotbkdgvegastljstopAPIResponse 淘宝客-推广者-淘礼金暂停发放 API返回值 taobao.tbk.dg.vegas.tlj.stop
淘宝客推广者可对已经创建的淘礼金暂停发放
type TaobaotbkdgvegastljstopAPIResponseModel ¶ added in v1.3.1
type TaobaotbkdgvegastljstopAPIResponseModel struct { XMLName xml.Name `xml:"tbk_dg_vegas_tlj_stop_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // model Model *UpdateStatusResult `json:"model,omitempty" xml:"model,omitempty"` // 调用接口是否成功 ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"` }
TaobaotbkdgvegastljstopAPIResponseModel is 淘宝客-推广者-淘礼金暂停发放 成功返回结果
type TaobaotbkiteminfogetAPIRequest ¶ added in v1.3.1
type TaobaotbkiteminfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkiteminfogetAPIRequest 淘宝客-公用-淘宝客商品详情查询(简版) API请求 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
func NewTaobaotbkiteminfogetRequest ¶ added in v1.3.1
func NewTaobaotbkiteminfogetRequest() *TaobaotbkiteminfogetAPIRequest
NewTaobaotbkiteminfogetRequest 初始化TaobaotbkiteminfogetAPIRequest对象
func (TaobaotbkiteminfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkiteminfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkiteminfogetAPIRequest) GetBizSceneId ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetBizSceneId() string
GetBizSceneId BizSceneId Getter
func (TaobaotbkiteminfogetAPIRequest) GetIp ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaotbkiteminfogetAPIRequest) GetManageItemPubId ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetManageItemPubId() int64
GetManageItemPubId ManageItemPubId Getter
func (TaobaotbkiteminfogetAPIRequest) GetNumIids ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetNumIids() string
GetNumIids NumIids Getter
func (TaobaotbkiteminfogetAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkiteminfogetAPIRequest) GetPromotionType ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetPromotionType() string
GetPromotionType PromotionType Getter
func (TaobaotbkiteminfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkiteminfogetAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkiteminfogetAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (*TaobaotbkiteminfogetAPIRequest) SetBizSceneId ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetBizSceneId(_bizSceneId string) error
SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景(不填默认为1)
func (*TaobaotbkiteminfogetAPIRequest) SetIp ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaotbkiteminfogetAPIRequest) SetManageItemPubId ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetManageItemPubId(_manageItemPubId int64) error
SetManageItemPubId is ManageItemPubId Setter 商品库服务账户(场景id3权限对应的memberid)
func (*TaobaotbkiteminfogetAPIRequest) SetNumIids ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetNumIids(_numIids string) error
SetNumIids is NumIids Setter 商品ID串,用,分割,最大40个
func (*TaobaotbkiteminfogetAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaotbkiteminfogetAPIRequest) SetPromotionType ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetPromotionType(_promotionType string) error
SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)
func (*TaobaotbkiteminfogetAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkiteminfogetAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID
type TaobaotbkiteminfogetAPIResponse ¶ added in v1.3.1
type TaobaotbkiteminfogetAPIResponse struct { model.CommonResponse TaobaotbkiteminfogetAPIResponseModel }
TaobaotbkiteminfogetAPIResponse 淘宝客-公用-淘宝客商品详情查询(简版) API返回值 taobao.tbk.item.info.get
淘宝客商品详情查询(简版)
type TaobaotbkiteminfogetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkiteminfogetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_item_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客商品 Results []NtbkItem `json:"results,omitempty" xml:"results>ntbk_item,omitempty"` }
TaobaotbkiteminfogetAPIResponseModel is 淘宝客-公用-淘宝客商品详情查询(简版) 成功返回结果
type TaobaotbkorderdetailsgetAPIRequest ¶ added in v1.3.1
type TaobaotbkorderdetailsgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkorderdetailsgetAPIRequest 淘宝客-推广者-所有订单查询 API请求 taobao.tbk.order.details.get
淘宝客推广带来的所有拍下付款的正向订单明细报表。
func NewTaobaotbkorderdetailsgetRequest ¶ added in v1.3.1
func NewTaobaotbkorderdetailsgetRequest() *TaobaotbkorderdetailsgetAPIRequest
NewTaobaotbkorderdetailsgetRequest 初始化TaobaotbkorderdetailsgetAPIRequest对象
func (TaobaotbkorderdetailsgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkorderdetailsgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkorderdetailsgetAPIRequest) GetEndTime ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetJumpType ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetJumpType() int64
GetJumpType JumpType Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetMemberType ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetMemberType() int64
GetMemberType MemberType Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetOrderScene ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetOrderScene() int64
GetOrderScene OrderScene Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetPositionIndex ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetPositionIndex() string
GetPositionIndex PositionIndex Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetQueryType ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkorderdetailsgetAPIRequest) GetStartTime ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaotbkorderdetailsgetAPIRequest) GetTkStatus ¶ added in v1.3.1
func (r TaobaotbkorderdetailsgetAPIRequest) GetTkStatus() int64
GetTkStatus TkStatus Getter
func (*TaobaotbkorderdetailsgetAPIRequest) SetEndTime ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
func (*TaobaotbkorderdetailsgetAPIRequest) SetJumpType ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetJumpType(_jumpType int64) error
SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
func (*TaobaotbkorderdetailsgetAPIRequest) SetMemberType ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetMemberType(_memberType int64) error
SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色
func (*TaobaotbkorderdetailsgetAPIRequest) SetOrderScene ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetOrderScene(_orderScene int64) error
SetOrderScene is OrderScene Setter 筛选订单类型,1:所有订单,2:渠道订单,3:会员运营订单,默认为1
func (*TaobaotbkorderdetailsgetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaotbkorderdetailsgetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkorderdetailsgetAPIRequest) SetPositionIndex ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetPositionIndex(_positionIndex string) error
SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。
func (*TaobaotbkorderdetailsgetAPIRequest) SetQueryType ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;
func (*TaobaotbkorderdetailsgetAPIRequest) SetStartTime ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 订单查询开始时间
func (*TaobaotbkorderdetailsgetAPIRequest) SetTkStatus ¶ added in v1.3.1
func (r *TaobaotbkorderdetailsgetAPIRequest) SetTkStatus(_tkStatus int64) error
SetTkStatus is TkStatus Setter 淘客订单状态,11-拍下未付款,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
type TaobaotbkorderdetailsgetAPIResponse ¶ added in v1.3.1
type TaobaotbkorderdetailsgetAPIResponse struct { model.CommonResponse TaobaotbkorderdetailsgetAPIResponseModel }
TaobaotbkorderdetailsgetAPIResponse 淘宝客-推广者-所有订单查询 API返回值 taobao.tbk.order.details.get
淘宝客推广带来的所有拍下付款的正向订单明细报表。
type TaobaotbkorderdetailsgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkorderdetailsgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_order_details_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // PublisherOrderDto Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkorderdetailsgetAPIResponseModel is 淘宝客-推广者-所有订单查询 成功返回结果
type TaobaotbkorderrefundgetAPIRequest ¶ added in v1.3.1
type TaobaotbkorderrefundgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkorderrefundgetAPIRequest 淘宝客-推广者-全量维权退款订单查询 API请求 taobao.tbk.order.refund.get
淘宝客账户下全量维权退款订单查询
func NewTaobaotbkorderrefundgetRequest ¶ added in v1.3.1
func NewTaobaotbkorderrefundgetRequest() *TaobaotbkorderrefundgetAPIRequest
NewTaobaotbkorderrefundgetRequest 初始化TaobaotbkorderrefundgetAPIRequest对象
func (TaobaotbkorderrefundgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkorderrefundgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkorderrefundgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkorderrefundgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkorderrefundgetAPIRequest) GetPublisherRefundOrderQueryOption ¶ added in v1.3.1
func (r TaobaotbkorderrefundgetAPIRequest) GetPublisherRefundOrderQueryOption() *PublisherRefundOrderQueryOption
GetPublisherRefundOrderQueryOption PublisherRefundOrderQueryOption Getter
func (TaobaotbkorderrefundgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkorderrefundgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkorderrefundgetAPIRequest) SetPublisherRefundOrderQueryOption ¶ added in v1.3.1
func (r *TaobaotbkorderrefundgetAPIRequest) SetPublisherRefundOrderQueryOption(_publisherRefundOrderQueryOption *PublisherRefundOrderQueryOption) error
SetPublisherRefundOrderQueryOption is PublisherRefundOrderQueryOption Setter 全量维权订单查询入参
type TaobaotbkorderrefundgetAPIResponse ¶ added in v1.3.1
type TaobaotbkorderrefundgetAPIResponse struct { model.CommonResponse TaobaotbkorderrefundgetAPIResponseModel }
TaobaotbkorderrefundgetAPIResponse 淘宝客-推广者-全量维权退款订单查询 API返回值 taobao.tbk.order.refund.get
淘宝客账户下全量维权退款订单查询
type TaobaotbkorderrefundgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkorderrefundgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_order_refund_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 业务错误信息 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 返回信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回数据 Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"` // 接口返回值信息,跟rpc架构保持一致 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 业务错误码 101, 102,103 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` }
TaobaotbkorderrefundgetAPIResponseModel is 淘宝客-推广者-全量维权退款订单查询 成功返回结果
type TaobaotbkprivilegegetAPIRequest ¶ added in v1.3.1
type TaobaotbkprivilegegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkprivilegegetAPIRequest 淘宝客-服务商-单品券高效转链 API请求 taobao.tbk.privilege.get
单品券高效转链API
func NewTaobaotbkprivilegegetRequest ¶ added in v1.3.1
func NewTaobaotbkprivilegegetRequest() *TaobaotbkprivilegegetAPIRequest
NewTaobaotbkprivilegegetRequest 初始化TaobaotbkprivilegegetAPIRequest对象
func (TaobaotbkprivilegegetAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkprivilegegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkprivilegegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkprivilegegetAPIRequest) GetBizSceneId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetBizSceneId() string
GetBizSceneId BizSceneId Getter
func (TaobaotbkprivilegegetAPIRequest) GetExternalId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaotbkprivilegegetAPIRequest) GetGetTopnRate ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaotbkprivilegegetAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaotbkprivilegegetAPIRequest) GetManageItemPubId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetManageItemPubId() int64
GetManageItemPubId ManageItemPubId Getter
func (TaobaotbkprivilegegetAPIRequest) GetMiniProgramLink ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetMiniProgramLink() int64
GetMiniProgramLink MiniProgramLink Getter
func (TaobaotbkprivilegegetAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkprivilegegetAPIRequest) GetPromotionType ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetPromotionType() string
GetPromotionType PromotionType Getter
func (TaobaotbkprivilegegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkprivilegegetAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbkprivilegegetAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaotbkprivilegegetAPIRequest) GetSkuId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (TaobaotbkprivilegegetAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaotbkprivilegegetAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaotbkprivilegegetAPIRequest) GetXid ¶ added in v1.3.1
func (r TaobaotbkprivilegegetAPIRequest) GetXid() string
GetXid Xid Getter
func (*TaobaotbkprivilegegetAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 推广位id,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaotbkprivilegegetAPIRequest) SetBizSceneId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetBizSceneId(_bizSceneId string) error
SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景(不填默认为1)
func (*TaobaotbkprivilegegetAPIRequest) SetExternalId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaotbkprivilegegetAPIRequest) SetGetTopnRate ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金 ,0-否,1-是,其他值-否
func (*TaobaotbkprivilegegetAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID
func (*TaobaotbkprivilegegetAPIRequest) SetManageItemPubId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetManageItemPubId(_manageItemPubId int64) error
SetManageItemPubId is ManageItemPubId Setter 商品库服务账户(场景id3权限对应的memberid)
func (*TaobaotbkprivilegegetAPIRequest) SetMiniProgramLink ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error
SetMiniProgramLink is MiniProgramLink Setter 是否需要获取小程序链接,需要设置1。(暂未对外开放)
func (*TaobaotbkprivilegegetAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 1:PC,2:无线,默认:1
func (*TaobaotbkprivilegegetAPIRequest) SetPromotionType ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetPromotionType(_promotionType string) error
SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)
func (*TaobaotbkprivilegegetAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景(如是主站选品推广场景,必须入参该字段,且bizSceneId字段需入参2-消费者比价场景,否则二次转链失败)
func (*TaobaotbkprivilegegetAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
func (*TaobaotbkprivilegegetAPIRequest) SetSkuId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 入参商品id下的skuid,传入时会透传至转链结果url中
func (*TaobaotbkprivilegegetAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID
func (*TaobaotbkprivilegegetAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
func (*TaobaotbkprivilegegetAPIRequest) SetXid ¶ added in v1.3.1
func (r *TaobaotbkprivilegegetAPIRequest) SetXid(_xid string) error
SetXid is Xid Setter 团长与下游渠道合作的特殊标识,用于统计渠道推广效果
type TaobaotbkprivilegegetAPIResponse ¶ added in v1.3.1
type TaobaotbkprivilegegetAPIResponse struct { model.CommonResponse TaobaotbkprivilegegetAPIResponseModel }
TaobaotbkprivilegegetAPIResponse 淘宝客-服务商-单品券高效转链 API返回值 taobao.tbk.privilege.get
单品券高效转链API
type TaobaotbkprivilegegetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkprivilegegetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_privilege_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaotbkprivilegegetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkprivilegegetAPIResponseModel is 淘宝客-服务商-单品券高效转链 成功返回结果
type TaobaotbkprivilegegetRpcResult ¶ added in v1.3.1
type TaobaotbkprivilegegetRpcResult struct { // data Data *MaterialDto `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkprivilegegetRpcResult 结构体
type TaobaotbkrelationrefundAPIRequest ¶ added in v1.3.1
type TaobaotbkrelationrefundAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkrelationrefundAPIRequest 淘宝客-推广者-维权退款订单查询 API请求 taobao.tbk.relation.refund
淘宝客维权退款订单查询-渠道管理和会员运营管理专用
func NewTaobaotbkrelationrefundRequest ¶ added in v1.3.1
func NewTaobaotbkrelationrefundRequest() *TaobaotbkrelationrefundAPIRequest
NewTaobaotbkrelationrefundRequest 初始化TaobaotbkrelationrefundAPIRequest对象
func (TaobaotbkrelationrefundAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkrelationrefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkrelationrefundAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkrelationrefundAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkrelationrefundAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkrelationrefundAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkrelationrefundAPIRequest) GetSearchOption ¶ added in v1.3.1
func (r TaobaotbkrelationrefundAPIRequest) GetSearchOption() *TopApiRefundRptOption
GetSearchOption SearchOption Getter
func (*TaobaotbkrelationrefundAPIRequest) SetSearchOption ¶ added in v1.3.1
func (r *TaobaotbkrelationrefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error
SetSearchOption is SearchOption Setter 参数option
type TaobaotbkrelationrefundAPIResponse ¶ added in v1.3.1
type TaobaotbkrelationrefundAPIResponse struct { model.CommonResponse TaobaotbkrelationrefundAPIResponseModel }
TaobaotbkrelationrefundAPIResponse 淘宝客-推广者-维权退款订单查询 API返回值 taobao.tbk.relation.refund
淘宝客维权退款订单查询-渠道管理和会员运营管理专用
type TaobaotbkrelationrefundAPIResponseModel ¶ added in v1.3.1
type TaobaotbkrelationrefundAPIResponseModel struct { XMLName xml.Name `xml:"tbk_relation_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果封装对象 Result *TaobaotbkrelationrefundRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkrelationrefundAPIResponseModel is 淘宝客-推广者-维权退款订单查询 成功返回结果
type TaobaotbkrelationrefundResult ¶ added in v1.3.1
type TaobaotbkrelationrefundResult struct { // 第三方应该返还的补贴 TkSubsidyFeeRefund3rdPub string `json:"tk_subsidy_fee_refund3rd_pub,omitempty" xml:"tk_subsidy_fee_refund3rd_pub,omitempty"` // 第三方应该返还的佣金 TkCommissionFeeRefund3rdPub string `json:"tk_commission_fee_refund3rd_pub,omitempty" xml:"tk_commission_fee_refund3rd_pub,omitempty"` // 第二方应该返还的补贴(不包括技术服务费) TkSubsidyFeeRefundPub string `json:"tk_subsidy_fee_refund_pub,omitempty" xml:"tk_subsidy_fee_refund_pub,omitempty"` // 第二方应该返还的佣金(不包括技术服务费) TkCommissionFeeRefundPub string `json:"tk_commission_fee_refund_pub,omitempty" xml:"tk_commission_fee_refund_pub,omitempty"` // 维权完成时间 TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"` // 维权创建时间 TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"` // 订单结算时间 EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"` // 订单创建时间 TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"` // 宝贝标题 TbAuctionTitle string `json:"tb_auction_title,omitempty" xml:"tb_auction_title,omitempty"` // 维权金额 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 结算金额 TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"` // 应返商家金额(二方) TkPubShowReturnFee string `json:"tk_pub_show_return_fee,omitempty" xml:"tk_pub_show_return_fee,omitempty"` // 应返商家金额(三方) Tk3rdPubShowReturnFee string `json:"tk3rd_pub_show_return_fee,omitempty" xml:"tk3rd_pub_show_return_fee,omitempty"` // (口碑订单)口碑父订单号 AlscPid string `json:"alsc_pid,omitempty" xml:"alsc_pid,omitempty"` // (口碑订单)口碑子订单号 AlscId string `json:"alsc_id,omitempty" xml:"alsc_id,omitempty"` // 更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 淘宝订单编号 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 会员关系id SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 第三方推广者memberid Tk3rdPubId int64 `json:"tk3rd_pub_id,omitempty" xml:"tk3rd_pub_id,omitempty"` // 推广者memberid TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` // 维权创建(淘客结算回执) 4,维权成功(淘客结算回执) 2,维权失败(淘客结算回执) 3,发生多次维权,待处理 11,从淘客处补扣(钱已结给淘客) 等待扣款 12,从淘客处补扣(钱已结给淘客) 扣款成功 13,从卖家处补扣(钱已结给卖家) 等待扣款 14,从卖家处补扣(钱已结给卖家) 扣款成功 15 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 淘宝子订单编号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 1 表示2方,2表示3方 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` }
TaobaotbkrelationrefundResult 结构体
type TaobaotbkrelationrefundRpcResult ¶ added in v1.3.1
type TaobaotbkrelationrefundRpcResult struct { // 返回信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 业务错误信息 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 真正的业务数据结构 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 接口返回值信息,跟rpc架构保持一致 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 业务错误码 101, 102,103 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` }
TaobaotbkrelationrefundRpcResult 结构体
type TaobaotbkrtaconsumermatchAPIRequest ¶ added in v1.3.1
type TaobaotbkrtaconsumermatchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkrtaconsumermatchAPIRequest 淘宝客-推广者-定向活动目标发布 API请求 taobao.tbk.rta.consumer.match
淘客计划向用户推送某个定向活动时,调用该接口判断用户是否符合活动目标(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaotbkrtaconsumermatchRequest ¶ added in v1.3.1
func NewTaobaotbkrtaconsumermatchRequest() *TaobaotbkrtaconsumermatchAPIRequest
NewTaobaotbkrtaconsumermatchRequest 初始化TaobaotbkrtaconsumermatchAPIRequest对象
func (TaobaotbkrtaconsumermatchAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkrtaconsumermatchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkrtaconsumermatchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkrtaconsumermatchAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkrtaconsumermatchAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkrtaconsumermatchAPIRequest) GetOfferList ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetOfferList() []OfferList
GetOfferList OfferList Getter
func (TaobaotbkrtaconsumermatchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkrtaconsumermatchAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaotbkrtaconsumermatchAPIRequest) GetStrategyIdList ¶ added in v1.3.1
func (r TaobaotbkrtaconsumermatchAPIRequest) GetStrategyIdList() string
GetStrategyIdList StrategyIdList Getter
func (*TaobaotbkrtaconsumermatchAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkrtaconsumermatchAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkrtaconsumermatchAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkrtaconsumermatchAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 设备信息,入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差):IMEI, 或者IDFA, 或者OAID, 或者MOBILE, 或者ALIPAY_ID
func (*TaobaotbkrtaconsumermatchAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkrtaconsumermatchAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 设备信息,加密后的值(IMEI,IDFA,OAID,MOBILE需要加密),需用MD5加密,32位小写
func (*TaobaotbkrtaconsumermatchAPIRequest) SetOfferList ¶ added in v1.3.1
func (r *TaobaotbkrtaconsumermatchAPIRequest) SetOfferList(_offerList []OfferList) error
SetOfferList is OfferList Setter 活动列表
func (*TaobaotbkrtaconsumermatchAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkrtaconsumermatchAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 消费者对应的会员ID(会员ID或设备信息同时填时,优先使用会员ID)
func (*TaobaotbkrtaconsumermatchAPIRequest) SetStrategyIdList ¶ added in v1.3.1
func (r *TaobaotbkrtaconsumermatchAPIRequest) SetStrategyIdList(_strategyIdList string) error
SetStrategyIdList is StrategyIdList Setter 策略ID,与活动列表二选一传入
type TaobaotbkrtaconsumermatchAPIResponse ¶ added in v1.3.1
type TaobaotbkrtaconsumermatchAPIResponse struct { model.CommonResponse TaobaotbkrtaconsumermatchAPIResponseModel }
TaobaotbkrtaconsumermatchAPIResponse 淘宝客-推广者-定向活动目标发布 API返回值 taobao.tbk.rta.consumer.match
淘客计划向用户推送某个定向活动时,调用该接口判断用户是否符合活动目标(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaotbkrtaconsumermatchAPIResponseModel ¶ added in v1.3.1
type TaobaotbkrtaconsumermatchAPIResponseModel struct { XMLName xml.Name `xml:"tbk_rta_consumer_match_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Data *TaobaotbkrtaconsumermatchData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkrtaconsumermatchAPIResponseModel is 淘宝客-推广者-定向活动目标发布 成功返回结果
type TaobaotbkrtaconsumermatchData ¶ added in v1.3.1
type TaobaotbkrtaconsumermatchData struct { // 返回结果列表 ResultList []Resultlist `json:"result_list,omitempty" xml:"result_list>resultlist,omitempty"` // 策略ID的匹配结果,仅在入参strategy_id_list字段非空时返回 StrategyResultList []StrategyResultList `json:"strategy_result_list,omitempty" xml:"strategy_result_list>strategy_result_list,omitempty"` }
TaobaotbkrtaconsumermatchData 结构体
type TaobaotbkscactivityinfogetAPIRequest ¶ added in v1.3.1
type TaobaotbkscactivityinfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscactivityinfogetAPIRequest 淘宝客-服务商-官方活动转链 API请求 taobao.tbk.sc.activity.info.get
服务商使用。支持入参推广者对应的推广位和官方活动会场ID,获取活动信息和推广者的推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
func NewTaobaotbkscactivityinfogetRequest ¶ added in v1.3.1
func NewTaobaotbkscactivityinfogetRequest() *TaobaotbkscactivityinfogetAPIRequest
NewTaobaotbkscactivityinfogetRequest 初始化TaobaotbkscactivityinfogetAPIRequest对象
func (TaobaotbkscactivityinfogetAPIRequest) GetActivityMaterialId ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetActivityMaterialId() string
GetActivityMaterialId ActivityMaterialId Getter
func (TaobaotbkscactivityinfogetAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkscactivityinfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscactivityinfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscactivityinfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscactivityinfogetAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaotbkscactivityinfogetAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaotbkscactivityinfogetAPIRequest) GetUnionId ¶ added in v1.3.1
func (r TaobaotbkscactivityinfogetAPIRequest) GetUnionId() string
GetUnionId UnionId Getter
func (*TaobaotbkscactivityinfogetAPIRequest) SetActivityMaterialId ¶ added in v1.3.1
func (r *TaobaotbkscactivityinfogetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error
SetActivityMaterialId is ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取
func (*TaobaotbkscactivityinfogetAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkscactivityinfogetAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkscactivityinfogetAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkscactivityinfogetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
func (*TaobaotbkscactivityinfogetAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkscactivityinfogetAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaotbkscactivityinfogetAPIRequest) SetUnionId ¶ added in v1.3.1
func (r *TaobaotbkscactivityinfogetAPIRequest) SetUnionId(_unionId string) error
SetUnionId is UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
type TaobaotbkscactivityinfogetAPIResponse ¶ added in v1.3.1
type TaobaotbkscactivityinfogetAPIResponse struct { model.CommonResponse TaobaotbkscactivityinfogetAPIResponseModel }
TaobaotbkscactivityinfogetAPIResponse 淘宝客-服务商-官方活动转链 API返回值 taobao.tbk.sc.activity.info.get
服务商使用。支持入参推广者对应的推广位和官方活动会场ID,获取活动信息和推广者的推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。
type TaobaotbkscactivityinfogetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscactivityinfogetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_activity_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaotbkscactivityinfogetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscactivityinfogetAPIResponseModel is 淘宝客-服务商-官方活动转链 成功返回结果
type TaobaotbkscactivityinfogetData ¶ added in v1.3.1
type TaobaotbkscactivityinfogetData struct { // 【本地化】微信推广二维码地址 WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"` // 推广长链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 推广短链接 ShortClickUrl string `json:"short_click_url,omitempty" xml:"short_click_url,omitempty"` // 投放平台:1-PC,2-无线 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 物料素材下载地址 MaterialOssUrl string `json:"material_oss_url,omitempty" xml:"material_oss_url,omitempty"` // 会场名称 PageName string `json:"page_name,omitempty" xml:"page_name,omitempty"` // 活动开始时间 PageStartTime string `json:"page_start_time,omitempty" xml:"page_start_time,omitempty"` // 活动结束时间 PageEndTime string `json:"page_end_time,omitempty" xml:"page_end_time,omitempty"` // 【本地化】微信小程序推广地址 WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"` }
TaobaotbkscactivityinfogetData 结构体
type TaobaotbkscadzonecreateAPIRequest ¶ added in v1.3.1
type TaobaotbkscadzonecreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscadzonecreateAPIRequest 淘宝客-服务商-创建推广者位 API请求 taobao.tbk.sc.adzone.create
提供淘宝客创建广告位
func NewTaobaotbkscadzonecreateRequest ¶ added in v1.3.1
func NewTaobaotbkscadzonecreateRequest() *TaobaotbkscadzonecreateAPIRequest
NewTaobaotbkscadzonecreateRequest 初始化TaobaotbkscadzonecreateAPIRequest对象
func (TaobaotbkscadzonecreateAPIRequest) GetAdzoneName ¶ added in v1.3.1
func (r TaobaotbkscadzonecreateAPIRequest) GetAdzoneName() string
GetAdzoneName AdzoneName Getter
func (TaobaotbkscadzonecreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscadzonecreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscadzonecreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscadzonecreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscadzonecreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscadzonecreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscadzonecreateAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkscadzonecreateAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaotbkscadzonecreateAPIRequest) SetAdzoneName ¶ added in v1.3.1
func (r *TaobaotbkscadzonecreateAPIRequest) SetAdzoneName(_adzoneName string) error
SetAdzoneName is AdzoneName Setter 广告位名称,最大长度64字符
func (*TaobaotbkscadzonecreateAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkscadzonecreateAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 网站ID
type TaobaotbkscadzonecreateAPIResponse ¶ added in v1.3.1
type TaobaotbkscadzonecreateAPIResponse struct { model.CommonResponse TaobaotbkscadzonecreateAPIResponseModel }
TaobaotbkscadzonecreateAPIResponse 淘宝客-服务商-创建推广者位 API返回值 taobao.tbk.sc.adzone.create
提供淘宝客创建广告位
type TaobaotbkscadzonecreateAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscadzonecreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_adzone_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // MapData Data *TaobaotbkscadzonecreateMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscadzonecreateAPIResponseModel is 淘宝客-服务商-创建推广者位 成功返回结果
type TaobaotbkscadzonecreateMapData ¶ added in v1.3.1
type TaobaotbkscadzonecreateMapData struct { // 完整的pid Model string `json:"model,omitempty" xml:"model,omitempty"` }
TaobaotbkscadzonecreateMapData 结构体
type TaobaotbkscinvitecodegetAPIRequest ¶ added in v1.3.1
type TaobaotbkscinvitecodegetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscinvitecodegetAPIRequest 淘宝客-公用-私域用户邀请码生成 API请求 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
func NewTaobaotbkscinvitecodegetRequest ¶ added in v1.3.1
func NewTaobaotbkscinvitecodegetRequest() *TaobaotbkscinvitecodegetAPIRequest
NewTaobaotbkscinvitecodegetRequest 初始化TaobaotbkscinvitecodegetAPIRequest对象
func (TaobaotbkscinvitecodegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscinvitecodegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscinvitecodegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscinvitecodegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscinvitecodegetAPIRequest) GetCodeType ¶ added in v1.3.1
func (r TaobaotbkscinvitecodegetAPIRequest) GetCodeType() int64
GetCodeType CodeType Getter
func (TaobaotbkscinvitecodegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscinvitecodegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscinvitecodegetAPIRequest) GetRelationApp ¶ added in v1.3.1
func (r TaobaotbkscinvitecodegetAPIRequest) GetRelationApp() string
GetRelationApp RelationApp Getter
func (TaobaotbkscinvitecodegetAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkscinvitecodegetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (*TaobaotbkscinvitecodegetAPIRequest) SetCodeType ¶ added in v1.3.1
func (r *TaobaotbkscinvitecodegetAPIRequest) SetCodeType(_codeType int64) error
SetCodeType is CodeType Setter 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请
func (*TaobaotbkscinvitecodegetAPIRequest) SetRelationApp ¶ added in v1.3.1
func (r *TaobaotbkscinvitecodegetAPIRequest) SetRelationApp(_relationApp string) error
SetRelationApp is RelationApp Setter 渠道推广的物料类型
func (*TaobaotbkscinvitecodegetAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkscinvitecodegetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系ID
type TaobaotbkscinvitecodegetAPIResponse ¶ added in v1.3.1
type TaobaotbkscinvitecodegetAPIResponse struct { model.CommonResponse TaobaotbkscinvitecodegetAPIResponseModel }
TaobaotbkscinvitecodegetAPIResponse 淘宝客-公用-私域用户邀请码生成 API返回值 taobao.tbk.sc.invitecode.get
私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。
type TaobaotbkscinvitecodegetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscinvitecodegetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_invitecode_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscinvitecodegetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscinvitecodegetAPIResponseModel is 淘宝客-公用-私域用户邀请码生成 成功返回结果
type TaobaotbkscinvitecodegetData ¶ added in v1.3.1
type TaobaotbkscinvitecodegetData struct { // 邀请码 InviterCode string `json:"inviter_code,omitempty" xml:"inviter_code,omitempty"` }
TaobaotbkscinvitecodegetData 结构体
type TaobaotbkscmaterialoptionalAPIRequest ¶ added in v1.3.1
type TaobaotbkscmaterialoptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscmaterialoptionalAPIRequest 淘宝客-服务商-物料搜索 API请求 taobao.tbk.sc.material.optional
服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。
func NewTaobaotbkscmaterialoptionalRequest ¶ added in v1.3.1
func NewTaobaotbkscmaterialoptionalRequest() *TaobaotbkscmaterialoptionalAPIRequest
NewTaobaotbkscmaterialoptionalRequest 初始化TaobaotbkscmaterialoptionalAPIRequest对象
func (TaobaotbkscmaterialoptionalAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscmaterialoptionalAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscmaterialoptionalAPIRequest) GetBizSceneId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetBizSceneId() string
GetBizSceneId BizSceneId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetCat ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetCat() string
GetCat Cat Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetCityCode ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetCityCode() string
GetCityCode CityCode Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetDeviceEncrypt ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetEndKaTkRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetEndKaTkRate() int64
GetEndKaTkRate EndKaTkRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetEndPrice ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetEndPrice() int64
GetEndPrice EndPrice Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetEndTkRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetEndTkRate() int64
GetEndTkRate EndTkRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetGetTopnRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetGetTopnRate() int64
GetGetTopnRate GetTopnRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetHasCoupon ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetHasCoupon() bool
GetHasCoupon HasCoupon Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetIncludeGoodRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetIncludeGoodRate() bool
GetIncludeGoodRate IncludeGoodRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetIncludePayRate30 ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetIncludePayRate30() bool
GetIncludePayRate30 IncludePayRate30 Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetIncludeRfdRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetIncludeRfdRate() bool
GetIncludeRfdRate IncludeRfdRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetIp ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetIp() string
GetIp Ip Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetIsOverseas ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetIsOverseas() bool
GetIsOverseas IsOverseas Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetIsTmall ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetItemloc ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetItemloc() string
GetItemloc Itemloc Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetLatitude ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetLatitude() string
GetLatitude Latitude Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetLockRateEndTime ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetLockRateEndTime() int64
GetLockRateEndTime LockRateEndTime Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetLockRateStartTime ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetLockRateStartTime() int64
GetLockRateStartTime LockRateStartTime Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetLongitude ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetLongitude() string
GetLongitude Longitude Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetMaterialId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetNeedFreeShipment ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetNeedFreeShipment() bool
GetNeedFreeShipment NeedFreeShipment Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetNeedPrepay ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetNeedPrepay() bool
GetNeedPrepay NeedPrepay Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetNpxLevel ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetNpxLevel() int64
GetNpxLevel NpxLevel Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetPageResultKey ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetPageResultKey() string
GetPageResultKey PageResultKey Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetPromotionType ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetPromotionType() string
GetPromotionType PromotionType Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetQ ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscmaterialoptionalAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetSellerIds ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetSellerIds() string
GetSellerIds SellerIds Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetSort ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetStartDsr ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartDsr() int64
GetStartDsr StartDsr Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetStartKaTkRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartKaTkRate() int64
GetStartKaTkRate StartKaTkRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetStartPrice ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartPrice() int64
GetStartPrice StartPrice Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetStartTkRate ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetStartTkRate() int64
GetStartTkRate StartTkRate Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (TaobaotbkscmaterialoptionalAPIRequest) GetUcrowdRankItems ¶ added in v1.3.1
func (r TaobaotbkscmaterialoptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems
GetUcrowdRankItems UcrowdRankItems Getter
func (*TaobaotbkscmaterialoptionalAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkscmaterialoptionalAPIRequest) SetBizSceneId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetBizSceneId(_bizSceneId string) error
SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景(不填默认为1)
func (*TaobaotbkscmaterialoptionalAPIRequest) SetCat ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetCat(_cat string) error
SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到
func (*TaobaotbkscmaterialoptionalAPIRequest) SetCityCode ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetCityCode(_cityCode string) error
SetCityCode is CityCode Setter 本地化入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508)
func (*TaobaotbkscmaterialoptionalAPIRequest) SetDeviceEncrypt ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5
func (*TaobaotbkscmaterialoptionalAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaotbkscmaterialoptionalAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)
func (*TaobaotbkscmaterialoptionalAPIRequest) SetEndKaTkRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error
SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金率上限。如:1234表示12.34%
func (*TaobaotbkscmaterialoptionalAPIRequest) SetEndPrice ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetEndPrice(_endPrice int64) error
SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaotbkscmaterialoptionalAPIRequest) SetEndTkRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetEndTkRate(_endTkRate int64) error
SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%
func (*TaobaotbkscmaterialoptionalAPIRequest) SetGetTopnRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error
SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息,0否,1是,其他值否
func (*TaobaotbkscmaterialoptionalAPIRequest) SetHasCoupon ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error
SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetIncludeGoodRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error
SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选(特定媒体支持)-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetIncludePayRate30 ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error
SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetIncludeRfdRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error
SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetIp ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIp(_ip string) error
SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
func (*TaobaotbkscmaterialoptionalAPIRequest) SetIsOverseas ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIsOverseas(_isOverseas bool) error
SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetIsTmall ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetItemloc ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetItemloc(_itemloc string) error
SetItemloc is Itemloc Setter 商品筛选-所在地
func (*TaobaotbkscmaterialoptionalAPIRequest) SetLatitude ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLatitude(_latitude string) error
SetLatitude is Latitude Setter 本地化入参-LBS信息-纬度
func (*TaobaotbkscmaterialoptionalAPIRequest) SetLockRateEndTime ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error
SetLockRateEndTime is LockRateEndTime Setter 商品筛选-锁佣结束时间
func (*TaobaotbkscmaterialoptionalAPIRequest) SetLockRateStartTime ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error
SetLockRateStartTime is LockRateStartTime Setter 商品筛选-锁佣开始时间
func (*TaobaotbkscmaterialoptionalAPIRequest) SetLongitude ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetLongitude(_longitude string) error
SetLongitude is Longitude Setter 本地化入参-LBS信息-经度
func (*TaobaotbkscmaterialoptionalAPIRequest) SetMaterialId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 不传时默认物料id=2836。如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004
func (*TaobaotbkscmaterialoptionalAPIRequest) SetNeedFreeShipment ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error
SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetNeedPrepay ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error
SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限
func (*TaobaotbkscmaterialoptionalAPIRequest) SetNpxLevel ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetNpxLevel(_npxLevel int64) error
SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微
func (*TaobaotbkscmaterialoptionalAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaotbkscmaterialoptionalAPIRequest) SetPageResultKey ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPageResultKey(_pageResultKey string) error
SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值
func (*TaobaotbkscmaterialoptionalAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkscmaterialoptionalAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式-1:PC,2:无线,默认为1
func (*TaobaotbkscmaterialoptionalAPIRequest) SetPromotionType ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetPromotionType(_promotionType string) error
SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)
func (*TaobaotbkscmaterialoptionalAPIRequest) SetQ ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetQ(_q string) error
SetQ is Q Setter 查询的关键词
func (*TaobaotbkscmaterialoptionalAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景
func (*TaobaotbkscmaterialoptionalAPIRequest) SetSellerIds ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSellerIds(_sellerIds string) error
SetSellerIds is SellerIds Setter 商家筛选-商家id,仅支持饿了么卡券商家id,支持批量请求1-100以内,多个商家id使用英文逗号分隔
func (*TaobaotbkscmaterialoptionalAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaotbkscmaterialoptionalAPIRequest) SetSort ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)
func (*TaobaotbkscmaterialoptionalAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营ID,仅适用于会员运营场景
func (*TaobaotbkscmaterialoptionalAPIRequest) SetStartDsr ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartDsr(_startDsr int64) error
SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间
func (*TaobaotbkscmaterialoptionalAPIRequest) SetStartKaTkRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error
SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金率下限。如:1234表示12.34%
func (*TaobaotbkscmaterialoptionalAPIRequest) SetStartPrice ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartPrice(_startPrice int64) error
SetStartPrice is StartPrice Setter 商品筛选-折扣价范围上限。单位:元
func (*TaobaotbkscmaterialoptionalAPIRequest) SetStartTkRate ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetStartTkRate(_startTkRate int64) error
SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%
func (*TaobaotbkscmaterialoptionalAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377
func (*TaobaotbkscmaterialoptionalAPIRequest) SetUcrowdRankItems ¶ added in v1.3.1
func (r *TaobaotbkscmaterialoptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error
SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表
type TaobaotbkscmaterialoptionalAPIResponse ¶ added in v1.3.1
type TaobaotbkscmaterialoptionalAPIResponse struct { model.CommonResponse TaobaotbkscmaterialoptionalAPIResponseModel }
TaobaotbkscmaterialoptionalAPIResponse 淘宝客-服务商-物料搜索 API返回值 taobao.tbk.sc.material.optional
服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。
type TaobaotbkscmaterialoptionalAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscmaterialoptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_material_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaotbkscmaterialoptionalMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkscmaterialoptional_map_data,omitempty"` // 本地化-lbs唯一分页标示,请在翻页时作为入参透传 PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaotbkscmaterialoptionalAPIResponseModel is 淘宝客-服务商-物料搜索 成功返回结果
type TaobaotbkscmaterialoptionalMapData ¶ added in v1.3.1
type TaobaotbkscmaterialoptionalMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 定向计划集合 SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 优惠券信息-优惠券开始时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 商品信息-是否包含定向计划 InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"` // 商品信息-淘客30天推广量 TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"` // 商品信息-月支出佣金(该字段废弃,请勿再用) TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"` // 优惠券信息-优惠券id CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"` // 商品信息-宝贝id(该字段废弃,请勿再用) NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 商品信息-一口价通常显示为划线价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-宝贝所在地 Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"` // 商品信息-商品地址 ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"` // 商品信息-是否包含营销计划 IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"` // 商品信息-是否包含定向计划 IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"` // 商品信息-佣金比率。1550表示15.5% CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` // 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划 CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"` // 链接-宝贝推广链接 Url string `json:"url,omitempty" xml:"url,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用,如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 链接-物料块id(测试中请勿使用) XId string `json:"x_id,omitempty" xml:"x_id,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品信息-商品邮费 RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"` // 商品信息-锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376 ) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 本地化-可用店铺名称 UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"` // 本地化-可用店铺id UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"` // 本地化-到门店距离(米) Distance string `json:"distance,omitempty" xml:"distance,omitempty"` // 本地化-销售开始时间 SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"` // 本地化-销售结束时间 SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"` // 商品信息-大促活动预热价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 营销-跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 本地化-扩展信息 LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"` // 物料评估-收益分 CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"` // 物料评估-匹配分 MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=预售单单奖励,1=618超级U选单单补 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 榜单url RankPageUrl string `json:"rank_page_url,omitempty" xml:"rank_page_url,omitempty"` // 搜索类型 ItemSearchType string `json:"item_search_type,omitempty" xml:"item_search_type,omitempty"` // 店铺信息-卖家类型。0表示集市,1表示天猫 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 商品信息-30天销量(饿了么卡券信息-总销量) Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-店铺dsr评分 ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 拼团专用--拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 预售专用-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 商品信息-锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 商品信息-锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0 RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNinfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaotbkscmaterialoptionalMapData 结构体
type TaobaotbkscmembergroupoptionalAPIRequest ¶ added in v1.3.1
type TaobaotbkscmembergroupoptionalAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscmembergroupoptionalAPIRequest 工具服务商member组查询、新增接口 API请求 taobao.tbk.sc.membergroup.optional
工具服务商member组查询、新增接口
func NewTaobaotbkscmembergroupoptionalRequest ¶ added in v1.3.1
func NewTaobaotbkscmembergroupoptionalRequest() *TaobaotbkscmembergroupoptionalAPIRequest
NewTaobaotbkscmembergroupoptionalRequest 初始化TaobaotbkscmembergroupoptionalAPIRequest对象
func (TaobaotbkscmembergroupoptionalAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscmembergroupoptionalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscmembergroupoptionalAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscmembergroupoptionalAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscmembergroupoptionalAPIRequest) GetMemberGroupId ¶ added in v1.3.1
func (r TaobaotbkscmembergroupoptionalAPIRequest) GetMemberGroupId() int64
GetMemberGroupId MemberGroupId Getter
func (TaobaotbkscmembergroupoptionalAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscmembergroupoptionalAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscmembergroupoptionalAPIRequest) GetTbNumIds ¶ added in v1.3.1
func (r TaobaotbkscmembergroupoptionalAPIRequest) GetTbNumIds() string
GetTbNumIds TbNumIds Getter
func (*TaobaotbkscmembergroupoptionalAPIRequest) SetMemberGroupId ¶ added in v1.3.1
func (r *TaobaotbkscmembergroupoptionalAPIRequest) SetMemberGroupId(_memberGroupId int64) error
SetMemberGroupId is MemberGroupId Setter member组id
func (*TaobaotbkscmembergroupoptionalAPIRequest) SetTbNumIds ¶ added in v1.3.1
func (r *TaobaotbkscmembergroupoptionalAPIRequest) SetTbNumIds(_tbNumIds string) error
SetTbNumIds is TbNumIds Setter 淘宝数字id
type TaobaotbkscmembergroupoptionalAPIResponse ¶ added in v1.3.1
type TaobaotbkscmembergroupoptionalAPIResponse struct { model.CommonResponse TaobaotbkscmembergroupoptionalAPIResponseModel }
TaobaotbkscmembergroupoptionalAPIResponse 工具服务商member组查询、新增接口 API返回值 taobao.tbk.sc.membergroup.optional
工具服务商member组查询、新增接口
type TaobaotbkscmembergroupoptionalAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscmembergroupoptionalAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_membergroup_optional_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Data *TaobaotbkscmembergroupoptionalMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscmembergroupoptionalAPIResponseModel is 工具服务商member组查询、新增接口 成功返回结果
type TaobaotbkscmembergroupoptionalMapData ¶ added in v1.3.1
type TaobaotbkscmembergroupoptionalMapData struct { // 组内的成员ID TbNumIds string `json:"tb_num_ids,omitempty" xml:"tb_num_ids,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 更新时间 UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"` // 组ID MemberGroupId int64 `json:"member_group_id,omitempty" xml:"member_group_id,omitempty"` }
TaobaotbkscmembergroupoptionalMapData 结构体
type TaobaotbkscoptimusmaterialAPIRequest ¶ added in v1.3.1
type TaobaotbkscoptimusmaterialAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscoptimusmaterialAPIRequest 淘宝客-服务商-物料精选 API请求 taobao.tbk.sc.optimus.material
服务商使用。支持入参推广者对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广者对应的推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
func NewTaobaotbkscoptimusmaterialRequest ¶ added in v1.3.1
func NewTaobaotbkscoptimusmaterialRequest() *TaobaotbkscoptimusmaterialAPIRequest
NewTaobaotbkscoptimusmaterialRequest 初始化TaobaotbkscoptimusmaterialAPIRequest对象
func (TaobaotbkscoptimusmaterialAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscoptimusmaterialAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscoptimusmaterialAPIRequest) GetContentId ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetContentId() int64
GetContentId ContentId Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetContentSource ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetContentSource() string
GetContentSource ContentSource Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetDeviceEncrypt ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetDeviceEncrypt() string
GetDeviceEncrypt DeviceEncrypt Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetItemId() string
GetItemId ItemId Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetMaterialId ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetMaterialId() int64
GetMaterialId MaterialId Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkscoptimusmaterialAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscoptimusmaterialAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkscoptimusmaterialAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaotbkscoptimusmaterialAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkscoptimusmaterialAPIRequest) SetContentId ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetContentId(_contentId int64) error
SetContentId is ContentId Setter 内容专用-内容详情ID
func (*TaobaotbkscoptimusmaterialAPIRequest) SetContentSource ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetContentSource(_contentSource string) error
SetContentSource is ContentSource Setter 内容专用-内容渠道信息
func (*TaobaotbkscoptimusmaterialAPIRequest) SetDeviceEncrypt ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error
SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传
func (*TaobaotbkscoptimusmaterialAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID
func (*TaobaotbkscoptimusmaterialAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值
func (*TaobaotbkscoptimusmaterialAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetItemId(_itemId string) error
SetItemId is ItemId Setter 商品ID,用于相似商品推荐
func (*TaobaotbkscoptimusmaterialAPIRequest) SetMaterialId ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetMaterialId(_materialId int64) error
SetMaterialId is MaterialId Setter 官方提供的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)
func (*TaobaotbkscoptimusmaterialAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认:1
func (*TaobaotbkscoptimusmaterialAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkscoptimusmaterialAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkscoptimusmaterialAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
type TaobaotbkscoptimusmaterialAPIResponse ¶ added in v1.3.1
type TaobaotbkscoptimusmaterialAPIResponse struct { model.CommonResponse TaobaotbkscoptimusmaterialAPIResponseModel }
TaobaotbkscoptimusmaterialAPIResponse 淘宝客-服务商-物料精选 API返回值 taobao.tbk.sc.optimus.material
服务商使用。支持入参推广者对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广者对应的推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)
type TaobaotbkscoptimusmaterialAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscoptimusmaterialAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_optimus_material_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaotbkscoptimusmaterialMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkscoptimusmaterial_map_data,omitempty"` // 推荐信息-是否抄底 IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"` }
TaobaotbkscoptimusmaterialAPIResponseModel is 淘宝客-服务商-物料精选 成功返回结果
type TaobaotbkscoptimusmaterialMapData ¶ added in v1.3.1
type TaobaotbkscoptimusmaterialMapData struct { // 商品信息-商品小图列表 SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"` // 商品信息-商品关联词 WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"` // 定向计划集合 SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元 CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"` // 商品信息-宝贝id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价 ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"` // 商品信息-佣金比率(%) CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"` // 优惠券信息-优惠券开始时间 CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"` // 商品信息-商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品信息-宝贝描述(推荐理由,不一定有) ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"` // 优惠券信息-优惠券结束时间 CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"` // 链接-宝贝+券二合一页面链接(该字段废弃,请勿再用) CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"` // 商品信息-商品主图 PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"` // 链接-宝贝推广链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 拼团专用-拼团结束时间 Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"` // 拼团专用-拼团开始时间 Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"` // 拼团专用-拼团拼成价,单位元 JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"` // 拼团专用-拼团一人价(原价),单位元 OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"` // 商品信息-一级类目名称 LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"` // 商品信息-叶子类目名称 CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"` // 商品信息-商品短标题 ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"` // 商品信息-商品白底图 WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"` // 营销-天猫营销玩法 TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"` // 商品信息-新人价 NewUserPrice string `json:"new_user_price,omitempty" xml:"new_user_price,omitempty"` // 优惠券信息-优惠券满减信息 CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 商品信息-一口价通常显示为划线价 ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 营销-聚划算聚淘结束时间 JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"` // 营销-聚划算聚淘开始时间 JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"` // 猫超玩法信息-当前是否包邮,1:是,0:否 MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,omitempty"` // 猫超玩法信息-活动结束时间,精确到毫秒 MaochaoPlayEndTime string `json:"maochao_play_end_time,omitempty" xml:"maochao_play_end_time,omitempty"` // 猫超玩法信息-活动开始时间,精确到毫秒 MaochaoPlayStartTime string `json:"maochao_play_start_time,omitempty" xml:"maochao_play_start_time,omitempty"` // 猫超玩法信息-折扣条件,价格百分数存储,件数按数量存储。可以有多个折扣条件,与折扣字段对应,','分割 MaochaoPlayConditions string `json:"maochao_play_conditions,omitempty" xml:"maochao_play_conditions,omitempty"` // 猫超玩法信息-折扣,折扣按照百分数存储,其余按照单位分存储。可以有多个折扣,','分割 MaochaoPlayDiscounts string `json:"maochao_play_discounts,omitempty" xml:"maochao_play_discounts,omitempty"` // 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元) MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"` // 营销-多件券优惠比例 MultiCouponZkRate string `json:"multi_coupon_zk_rate,omitempty" xml:"multi_coupon_zk_rate,omitempty"` // 营销-多件券件单价 PriceAfterMultiCoupon string `json:"price_after_multi_coupon,omitempty" xml:"price_after_multi_coupon,omitempty"` // 营销-多件券件数 MultiCouponItemCount string `json:"multi_coupon_item_count,omitempty" xml:"multi_coupon_item_count,omitempty"` // 商品信息-锁住的佣金率 LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"` // 预售商品-优惠信息 PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"` // 预售商品-定金(元) PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"` // 预售有礼-淘礼金发放时间 YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"` // 预售有礼-推广链接 YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"` // 预售有礼-预估淘礼金(元) YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"` // 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376) YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"` // 预售有礼-淘礼金使用结束时间 YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"` // 预售有礼-淘礼金使用开始时间 YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"` // 营销-1、聚划算满减满折:满N件减X元、满N件X折、满N件X元;2、天猫限时抢:前N分钟每件X元、前N分钟满N件每件X元、前N件每件X元 PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"` // 营销-满减满折的类型(1. 满减 2. 满折) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 营销-满减满折信息 PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"` // 营销-满减满折门槛(满2件打5折中值为2,满300减20中值为300) PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"` // 营销-满减满折优惠(满2件打5折中值为5,满300减20中值为20) PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"` // 营销-聚划算商品预热开始时间(毫秒) JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"` // 营销-聚划算商品预热结束时间(毫秒) JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"` // 商品信息-大促活动预热价 SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // 营销-跨店满减信息 KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"` // 商品信息-商品子标题 SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"` // 营销-聚划算商品价格卖点描述 JhsPriceUspList string `json:"jhs_price_usp_list,omitempty" xml:"jhs_price_usp_list,omitempty"` // 淘抢购商品专用-总库存 TqgTotalCount string `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"` // 淘抢购商品专用-已抢购数量 TqgSoldCount string `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"` // 淘抢购商品专用-开团时间 TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"` // 淘抢购商品专用-结束时间 TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"` // 是否品牌精选,0不是,1是 SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"` // 是否品牌快抢,0不是,1是 IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"` // 是否是热门商品,0不是,1是 HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"` // 商品入驻淘特后产生的所有销量量级,不特指某段具体时间 TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"` // 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励 CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"` // 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割 CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"` // 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据 ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"` // 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用 CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"` // 商品信息-叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 优惠券信息-优惠券总量 CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"` // 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版 UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` // 优惠券信息-优惠券剩余量 CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"` // 店铺信息-卖家id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 商品信息-30天销量 Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 拼团专用-拼团剩余库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 拼团专用-拼团已售数量 SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"` // 拼团专用-拼团库存数量 TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"` // 拼团专用-拼团几人团 JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"` // 商品信息-一级类目ID LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"` // 商品信息-预售数量 UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"` // 商品信息-锁佣结束时间 LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"` // 商品信息-锁佣开始时间 LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"` // 预售商品-付尾款结束时间(毫秒) PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"` // 预售商品-付尾款开始时间(毫秒) PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"` // 预售商品-付定金结束时间(毫秒) PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"` // 预售商品-付定金开始时间(毫秒) PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"` // 天猫限时抢可售 -结束时间(毫秒) TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"` // 天猫限时抢可售 -开始时间(毫秒) TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"` // 营销-聚划算满减结束时间(毫秒) JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"` // 营销-聚划算满减开始时间(毫秒) JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"` // 前N件佣金信息-前N件佣金生效或预热时透出以下字段 TopnInfo *TopNinfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"` // 百亿补贴信息 BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"` // 猫超买返卡信息 MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"` }
TaobaotbkscoptimusmaterialMapData 结构体
type TaobaotbkscoptimuspromotionAPIRequest ¶ added in v1.3.1
type TaobaotbkscoptimuspromotionAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscoptimuspromotionAPIRequest 淘宝客-服务商-权益物料精选 API请求 taobao.tbk.sc.optimus.promotion
服务商使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
func NewTaobaotbkscoptimuspromotionRequest ¶ added in v1.3.1
func NewTaobaotbkscoptimuspromotionRequest() *TaobaotbkscoptimuspromotionAPIRequest
NewTaobaotbkscoptimuspromotionRequest 初始化TaobaotbkscoptimuspromotionAPIRequest对象
func (TaobaotbkscoptimuspromotionAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkscoptimuspromotionAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscoptimuspromotionAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscoptimuspromotionAPIRequest) GetPageNum ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaotbkscoptimuspromotionAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkscoptimuspromotionAPIRequest) GetPromotionId ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetPromotionId() int64
GetPromotionId PromotionId Getter
func (TaobaotbkscoptimuspromotionAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscoptimuspromotionAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkscoptimuspromotionAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (*TaobaotbkscoptimuspromotionAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkscoptimuspromotionAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkscoptimuspromotionAPIRequest) SetPageNum ¶ added in v1.3.1
func (r *TaobaotbkscoptimuspromotionAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 第几页,默认:1
func (*TaobaotbkscoptimuspromotionAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkscoptimuspromotionAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,每次请求限制10以内
func (*TaobaotbkscoptimuspromotionAPIRequest) SetPromotionId ¶ added in v1.3.1
func (r *TaobaotbkscoptimuspromotionAPIRequest) SetPromotionId(_promotionId int64) error
SetPromotionId is PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116、天猫店铺券-62191、券券补-61809 更多权益物料id敬请期待!
func (*TaobaotbkscoptimuspromotionAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkscoptimuspromotionAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
type TaobaotbkscoptimuspromotionAPIResponse ¶ added in v1.3.1
type TaobaotbkscoptimuspromotionAPIResponse struct { model.CommonResponse TaobaotbkscoptimuspromotionAPIResponseModel }
TaobaotbkscoptimuspromotionAPIResponse 淘宝客-服务商-权益物料精选 API返回值 taobao.tbk.sc.optimus.promotion
服务商使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。
type TaobaotbkscoptimuspromotionAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscoptimuspromotionAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_optimus_promotion_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // resultList ResultList []TaobaotbkscoptimuspromotionMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkscoptimuspromotion_map_data,omitempty"` }
TaobaotbkscoptimuspromotionAPIResponseModel is 淘宝客-服务商-权益物料精选 成功返回结果
type TaobaotbkscoptimuspromotionMapData ¶ added in v1.3.1
type TaobaotbkscoptimuspromotionMapData struct { // 权益信息 PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"` // 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加) PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"` // 优惠门槛类型: 1 满元 2 满件 ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"` // 优惠类型: 1 减钱 2 打折 DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"` // 权益信息展示开始时间,精确到毫秒时间戳 DisplayStartTime string `json:"display_start_time,omitempty" xml:"display_start_time,omitempty"` // 权益信息展示结束时间,精确到毫秒时间戳 DisplayEndTime string `json:"display_end_time,omitempty" xml:"display_end_time,omitempty"` // 店铺信息-卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 店铺信息-卖家昵称 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 店铺信息-店铺名称 ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"` // 店铺信息-店铺logo ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"` // 权益信息-总量(权益初始库存量) TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 权益信息-剩余库存(权益剩余库存量) RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"` // 权益扩展信息 PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"` }
TaobaotbkscoptimuspromotionMapData 结构体
type TaobaotbkscorderdetailsgetAPIRequest ¶ added in v1.3.1
type TaobaotbkscorderdetailsgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscorderdetailsgetAPIRequest 淘宝客-服务商-所有订单查询 API请求 taobao.tbk.sc.order.details.get
服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。
func NewTaobaotbkscorderdetailsgetRequest ¶ added in v1.3.1
func NewTaobaotbkscorderdetailsgetRequest() *TaobaotbkscorderdetailsgetAPIRequest
NewTaobaotbkscorderdetailsgetRequest 初始化TaobaotbkscorderdetailsgetAPIRequest对象
func (TaobaotbkscorderdetailsgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscorderdetailsgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscorderdetailsgetAPIRequest) GetEndTime ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetJumpType ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetJumpType() int64
GetJumpType JumpType Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetMemberGroupId ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetMemberGroupId() int64
GetMemberGroupId MemberGroupId Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetMemberType ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetMemberType() int64
GetMemberType MemberType Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetOrderScene ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetOrderScene() int64
GetOrderScene OrderScene Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetPositionIndex ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetPositionIndex() string
GetPositionIndex PositionIndex Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetQueryType ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetQueryType() int64
GetQueryType QueryType Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscorderdetailsgetAPIRequest) GetStartTime ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (TaobaotbkscorderdetailsgetAPIRequest) GetTkStatus ¶ added in v1.3.1
func (r TaobaotbkscorderdetailsgetAPIRequest) GetTkStatus() int64
GetTkStatus TkStatus Getter
func (*TaobaotbkscorderdetailsgetAPIRequest) SetEndTime ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
func (*TaobaotbkscorderdetailsgetAPIRequest) SetJumpType ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetJumpType(_jumpType int64) error
SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
func (*TaobaotbkscorderdetailsgetAPIRequest) SetMemberGroupId ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetMemberGroupId(_memberGroupId int64) error
SetMemberGroupId is MemberGroupId Setter member组ID
func (*TaobaotbkscorderdetailsgetAPIRequest) SetMemberType ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetMemberType(_memberType int64) error
SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色
func (*TaobaotbkscorderdetailsgetAPIRequest) SetOrderScene ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetOrderScene(_orderScene int64) error
SetOrderScene is OrderScene Setter 筛选订单类型,1:所有订单,2:渠道订单,3:会员运营订单,默认为1
func (*TaobaotbkscorderdetailsgetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaotbkscorderdetailsgetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkscorderdetailsgetAPIRequest) SetPositionIndex ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetPositionIndex(_positionIndex string) error
SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。
func (*TaobaotbkscorderdetailsgetAPIRequest) SetQueryType ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetQueryType(_queryType int64) error
SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;
func (*TaobaotbkscorderdetailsgetAPIRequest) SetStartTime ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 订单查询开始时间
func (*TaobaotbkscorderdetailsgetAPIRequest) SetTkStatus ¶ added in v1.3.1
func (r *TaobaotbkscorderdetailsgetAPIRequest) SetTkStatus(_tkStatus int64) error
SetTkStatus is TkStatus Setter 淘客订单状态,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
type TaobaotbkscorderdetailsgetAPIResponse ¶ added in v1.3.1
type TaobaotbkscorderdetailsgetAPIResponse struct { model.CommonResponse TaobaotbkscorderdetailsgetAPIResponseModel }
TaobaotbkscorderdetailsgetAPIResponse 淘宝客-服务商-所有订单查询 API返回值 taobao.tbk.sc.order.details.get
服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。
type TaobaotbkscorderdetailsgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscorderdetailsgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_order_details_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // PublisherOrderDto Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscorderdetailsgetAPIResponseModel is 淘宝客-服务商-所有订单查询 成功返回结果
type TaobaotbkscpublisherinfogetAPIRequest ¶ added in v1.3.1
type TaobaotbkscpublisherinfogetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscpublisherinfogetAPIRequest 淘宝客-公用-私域用户备案信息查询 API请求 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
func NewTaobaotbkscpublisherinfogetRequest ¶ added in v1.3.1
func NewTaobaotbkscpublisherinfogetRequest() *TaobaotbkscpublisherinfogetAPIRequest
NewTaobaotbkscpublisherinfogetRequest 初始化TaobaotbkscpublisherinfogetAPIRequest对象
func (TaobaotbkscpublisherinfogetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscpublisherinfogetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscpublisherinfogetAPIRequest) GetExternalId ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetExternalType ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetExternalType() int64
GetExternalType ExternalType Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetInfoType ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetInfoType() int64
GetInfoType InfoType Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscpublisherinfogetAPIRequest) GetRelationApp ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetRelationApp() string
GetRelationApp RelationApp Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaotbkscpublisherinfogetAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfogetAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (*TaobaotbkscpublisherinfogetAPIRequest) SetExternalId ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等
func (*TaobaotbkscpublisherinfogetAPIRequest) SetExternalType ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetExternalType(_externalType int64) error
SetExternalType is ExternalType Setter 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他;默认为0
func (*TaobaotbkscpublisherinfogetAPIRequest) SetInfoType ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetInfoType(_infoType int64) error
SetInfoType is InfoType Setter 类型,必选 1:渠道信息;2:会员信息
func (*TaobaotbkscpublisherinfogetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,下标从0开始
func (*TaobaotbkscpublisherinfogetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaotbkscpublisherinfogetAPIRequest) SetRelationApp ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetRelationApp(_relationApp string) error
SetRelationApp is RelationApp Setter 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
func (*TaobaotbkscpublisherinfogetAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道独占 - 渠道关系ID
func (*TaobaotbkscpublisherinfogetAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfogetAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员独占 - 会员运营ID
type TaobaotbkscpublisherinfogetAPIResponse ¶ added in v1.3.1
type TaobaotbkscpublisherinfogetAPIResponse struct { model.CommonResponse TaobaotbkscpublisherinfogetAPIResponseModel }
TaobaotbkscpublisherinfogetAPIResponse 淘宝客-公用-私域用户备案信息查询 API返回值 taobao.tbk.sc.publisher.info.get
查询已生成的渠道id或会员运营id的相关信息。
type TaobaotbkscpublisherinfogetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscpublisherinfogetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_publisher_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscpublisherinfogetData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscpublisherinfogetAPIResponseModel is 淘宝客-公用-私域用户备案信息查询 成功返回结果
type TaobaotbkscpublisherinfogetData ¶ added in v1.3.1
type TaobaotbkscpublisherinfogetData struct { // 共享字段 - 渠道或会员列表 InviterList []TaobaotbkscpublisherinfogetMapData `json:"inviter_list,omitempty" xml:"inviter_list>taobaotbkscpublisherinfoget_map_data,omitempty"` // 渠道专属pidList RootPidChannelList []string `json:"root_pid_channel_list,omitempty" xml:"root_pid_channel_list>string,omitempty"` // 共享字段 - 总记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaotbkscpublisherinfogetData 结构体
type TaobaotbkscpublisherinfogetMapData ¶ added in v1.3.1
type TaobaotbkscpublisherinfogetMapData struct { // 共享字段 - 备案场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案) RelationApp string `json:"relation_app,omitempty" xml:"relation_app,omitempty"` // 共享字段 - 备案日期 CreateDate string `json:"create_date,omitempty" xml:"create_date,omitempty"` // 渠道独有 - 渠道昵称 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 渠道独有 - 渠道名称 RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"` // 渠道独有 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他 OfflineScene string `json:"offline_scene,omitempty" xml:"offline_scene,omitempty"` // 渠道独有 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他 OnlineScene string `json:"online_scene,omitempty" xml:"online_scene,omitempty"` // 渠道独有 - 媒体侧渠道备注信息 Note string `json:"note,omitempty" xml:"note,omitempty"` // 共享字段 - 渠道/会员专属pid RootPid string `json:"root_pid,omitempty" xml:"root_pid,omitempty"` // 共享字段 - 渠道/会员原始身份信息 Rtag string `json:"rtag,omitempty" xml:"rtag,omitempty"` // 渠道独有 - 处罚状态 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 淘宝客外部用户标记 ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"` // 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他 ExternalType string `json:"external_type,omitempty" xml:"external_type,omitempty"` // 渠道独有 - 渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 线下备案专属信息 OfflineInfo *RegisterInfoDto `json:"offline_info,omitempty" xml:"offline_info,omitempty"` // 会员独有 - 会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` }
TaobaotbkscpublisherinfogetMapData 结构体
type TaobaotbkscpublisherinfosaveAPIRequest ¶ added in v1.3.1
type TaobaotbkscpublisherinfosaveAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscpublisherinfosaveAPIRequest 淘宝客-公用-私域用户备案 API请求 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
func NewTaobaotbkscpublisherinfosaveRequest ¶ added in v1.3.1
func NewTaobaotbkscpublisherinfosaveRequest() *TaobaotbkscpublisherinfosaveAPIRequest
NewTaobaotbkscpublisherinfosaveRequest 初始化TaobaotbkscpublisherinfosaveAPIRequest对象
func (TaobaotbkscpublisherinfosaveAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscpublisherinfosaveAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscpublisherinfosaveAPIRequest) GetInfoType ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetInfoType() int64
GetInfoType InfoType Getter
func (TaobaotbkscpublisherinfosaveAPIRequest) GetInviterCode ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetInviterCode() string
GetInviterCode InviterCode Getter
func (TaobaotbkscpublisherinfosaveAPIRequest) GetNote ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetNote() string
GetNote Note Getter
func (TaobaotbkscpublisherinfosaveAPIRequest) GetOfflineScene ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetOfflineScene() string
GetOfflineScene OfflineScene Getter
func (TaobaotbkscpublisherinfosaveAPIRequest) GetOnlineScene ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetOnlineScene() string
GetOnlineScene OnlineScene Getter
func (TaobaotbkscpublisherinfosaveAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscpublisherinfosaveAPIRequest) GetRegisterInfo ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetRegisterInfo() string
GetRegisterInfo RegisterInfo Getter
func (TaobaotbkscpublisherinfosaveAPIRequest) GetRelationFrom ¶ added in v1.3.1
func (r TaobaotbkscpublisherinfosaveAPIRequest) GetRelationFrom() string
GetRelationFrom RelationFrom Getter
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetInfoType ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetInfoType(_infoType int64) error
SetInfoType is InfoType Setter 类型,必选 默认为1:
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetInviterCode ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetInviterCode(_inviterCode string) error
SetInviterCode is InviterCode Setter 淘宝客邀请渠道或会员的邀请码
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetNote ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetNote(_note string) error
SetNote is Note Setter 媒体侧渠道备注
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetOfflineScene ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetOfflineScene(_offlineScene string) error
SetOfflineScene is OfflineScene Setter 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetOnlineScene ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetOnlineScene(_onlineScene string) error
SetOnlineScene is OnlineScene Setter 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetRegisterInfo ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetRegisterInfo(_registerInfo string) error
SetRegisterInfo is RegisterInfo Setter 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)
func (*TaobaotbkscpublisherinfosaveAPIRequest) SetRelationFrom ¶ added in v1.3.1
func (r *TaobaotbkscpublisherinfosaveAPIRequest) SetRelationFrom(_relationFrom string) error
SetRelationFrom is RelationFrom Setter 渠道备案 - 来源,取链接的来源
type TaobaotbkscpublisherinfosaveAPIResponse ¶ added in v1.3.1
type TaobaotbkscpublisherinfosaveAPIResponse struct { model.CommonResponse TaobaotbkscpublisherinfosaveAPIResponseModel }
TaobaotbkscpublisherinfosaveAPIResponse 淘宝客-公用-私域用户备案 API返回值 taobao.tbk.sc.publisher.info.save
通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。
type TaobaotbkscpublisherinfosaveAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscpublisherinfosaveAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_publisher_info_save_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscpublisherinfosaveData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscpublisherinfosaveAPIResponseModel is 淘宝客-公用-私域用户备案 成功返回结果
type TaobaotbkscpublisherinfosaveData ¶ added in v1.3.1
type TaobaotbkscpublisherinfosaveData struct { // 渠道昵称 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 如果重复绑定会提示:”重复绑定渠道“或”重复绑定粉丝“ Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 渠道关系ID RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 会员运营ID SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` }
TaobaotbkscpublisherinfosaveData 结构体
type TaobaotbkscpunishordergetAPIRequest ¶ added in v1.3.1
type TaobaotbkscpunishordergetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscpunishordergetAPIRequest 淘宝客-服务商-处罚订单查询 API请求 taobao.tbk.sc.punish.order.get
服务商使用。可通过该接口查询推广者账号下在处罚管理后台,可直接下载的处罚订单明细。请注意:若是基于账号(member)、媒体id(site)、推广位(adzone)、渠道方(relationid)维度的完整处罚,对应订单明细请根据处罚后台对应的处罚订单时间说明,在“推广订单明细”中筛选对应订单。
func NewTaobaotbkscpunishordergetRequest ¶ added in v1.3.1
func NewTaobaotbkscpunishordergetRequest() *TaobaotbkscpunishordergetAPIRequest
NewTaobaotbkscpunishordergetRequest 初始化TaobaotbkscpunishordergetAPIRequest对象
func (TaobaotbkscpunishordergetAPIRequest) GetAfOrderOption ¶ added in v1.3.1
func (r TaobaotbkscpunishordergetAPIRequest) GetAfOrderOption() *TopApiAfOrderOption
GetAfOrderOption AfOrderOption Getter
func (TaobaotbkscpunishordergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscpunishordergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscpunishordergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscpunishordergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscpunishordergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscpunishordergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaotbkscpunishordergetAPIRequest) SetAfOrderOption ¶ added in v1.3.1
func (r *TaobaotbkscpunishordergetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error
SetAfOrderOption is AfOrderOption Setter 入参的对象
type TaobaotbkscpunishordergetAPIResponse ¶ added in v1.3.1
type TaobaotbkscpunishordergetAPIResponse struct { model.CommonResponse TaobaotbkscpunishordergetAPIResponseModel }
TaobaotbkscpunishordergetAPIResponse 淘宝客-服务商-处罚订单查询 API返回值 taobao.tbk.sc.punish.order.get
服务商使用。可通过该接口查询推广者账号下在处罚管理后台,可直接下载的处罚订单明细。请注意:若是基于账号(member)、媒体id(site)、推广位(adzone)、渠道方(relationid)维度的完整处罚,对应订单明细请根据处罚后台对应的处罚订单时间说明,在“推广订单明细”中筛选对应订单。
type TaobaotbkscpunishordergetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscpunishordergetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_punish_order_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询的对象 Result *TaobaotbkscpunishordergetRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkscpunishordergetAPIResponseModel is 淘宝客-服务商-处罚订单查询 成功返回结果
type TaobaotbkscpunishordergetResult ¶ added in v1.3.1
type TaobaotbkscpunishordergetResult struct { // 淘宝联盟unionid(该字段不再支持) UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"` // 处罚状态。0 冻结,1 解冻 PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"` // 处罚类型,目前包括 1:店铺淘宝客 2:订单虚假交易 ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 淘客订单创建时间 TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"` // 会员运营id(该字段不再支持) SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 结算月份 SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 父订单号(该字段不再支持) TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pid里的adzoneid TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"` // pid里的siteid TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"` // pid里的pubid TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` }
TaobaotbkscpunishordergetResult 结构体
type TaobaotbkscpunishordergetRpcResult ¶ added in v1.3.1
type TaobaotbkscpunishordergetRpcResult struct { // 业务出错的描述 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 执行结果 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 结果 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 业务出错的状态码 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` // 执行结果状态码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaotbkscpunishordergetRpcResult 结构体
type TaobaotbkscrelationrecordAPIRequest ¶ added in v1.3.1
type TaobaotbkscrelationrecordAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscrelationrecordAPIRequest 淘宝客-服务商-私域会员标记 API请求 taobao.tbk.sc.relation.record
服务商使用。支持淘宝客通过入参私域外部ID,获得待私域会员可标记的链接,会员打开该链接后,可帮助媒体自动生成会员运营id进行标记,同时自动跳转到推广落地页。
func NewTaobaotbkscrelationrecordRequest ¶ added in v1.3.1
func NewTaobaotbkscrelationrecordRequest() *TaobaotbkscrelationrecordAPIRequest
NewTaobaotbkscrelationrecordRequest 初始化TaobaotbkscrelationrecordAPIRequest对象
func (TaobaotbkscrelationrecordAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscrelationrecordAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscrelationrecordAPIRequest) GetExternalId ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetExternalId() string
GetExternalId ExternalId Getter
func (TaobaotbkscrelationrecordAPIRequest) GetExternalType ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetExternalType() int64
GetExternalType ExternalType Getter
func (TaobaotbkscrelationrecordAPIRequest) GetOpType ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetOpType() int64
GetOpType OpType Getter
func (TaobaotbkscrelationrecordAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscrelationrecordAPIRequest) GetRedirectUrl ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetRedirectUrl() string
GetRedirectUrl RedirectUrl Getter
func (TaobaotbkscrelationrecordAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkscrelationrecordAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaotbkscrelationrecordAPIRequest) SetExternalId ¶ added in v1.3.1
func (r *TaobaotbkscrelationrecordAPIRequest) SetExternalId(_externalId string) error
SetExternalId is ExternalId Setter 淘宝客自有私域用户自定义标记,如自有私域系统账号标记等
func (*TaobaotbkscrelationrecordAPIRequest) SetExternalType ¶ added in v1.3.1
func (r *TaobaotbkscrelationrecordAPIRequest) SetExternalType(_externalType int64) error
SetExternalType is ExternalType Setter 淘宝客其他平台私域用户自定义标记,1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他
func (*TaobaotbkscrelationrecordAPIRequest) SetOpType ¶ added in v1.3.1
func (r *TaobaotbkscrelationrecordAPIRequest) SetOpType(_opType int64) error
SetOpType is OpType Setter 授权类型,选2时可用于更新外部用户标记,默认1:1-新绑,2-更新
func (*TaobaotbkscrelationrecordAPIRequest) SetRedirectUrl ¶ added in v1.3.1
func (r *TaobaotbkscrelationrecordAPIRequest) SetRedirectUrl(_redirectUrl string) error
SetRedirectUrl is RedirectUrl Setter 会员备案授权后,跳转的目标页地址
func (*TaobaotbkscrelationrecordAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkscrelationrecordAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签ID,用户备案授权后会自动添加到该人群
type TaobaotbkscrelationrecordAPIResponse ¶ added in v1.3.1
type TaobaotbkscrelationrecordAPIResponse struct { model.CommonResponse TaobaotbkscrelationrecordAPIResponseModel }
TaobaotbkscrelationrecordAPIResponse 淘宝客-服务商-私域会员标记 API返回值 taobao.tbk.sc.relation.record
服务商使用。支持淘宝客通过入参私域外部ID,获得待私域会员可标记的链接,会员打开该链接后,可帮助媒体自动生成会员运营id进行标记,同时自动跳转到推广落地页。
type TaobaotbkscrelationrecordAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscrelationrecordAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_relation_record_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscrelationrecordMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscrelationrecordAPIResponseModel is 淘宝客-服务商-私域会员标记 成功返回结果
type TaobaotbkscrelationrecordMapData ¶ added in v1.3.1
type TaobaotbkscrelationrecordMapData struct { // 带授权的备案链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 已废弃,请调用淘口令生成接口 PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"` // 已废弃,请调用淘口令生成接口 Model string `json:"model,omitempty" xml:"model,omitempty"` }
TaobaotbkscrelationrecordMapData 结构体
type TaobaotbkscrelationrefundAPIRequest ¶ added in v1.3.1
type TaobaotbkscrelationrefundAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscrelationrefundAPIRequest 淘宝客-服务商-维权退款订单查询 API请求 taobao.tbk.sc.relation.refund
淘宝客维权退款订单查询-渠道管理和会员运营管理专用
func NewTaobaotbkscrelationrefundRequest ¶ added in v1.3.1
func NewTaobaotbkscrelationrefundRequest() *TaobaotbkscrelationrefundAPIRequest
NewTaobaotbkscrelationrefundRequest 初始化TaobaotbkscrelationrefundAPIRequest对象
func (TaobaotbkscrelationrefundAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscrelationrefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscrelationrefundAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscrelationrefundAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscrelationrefundAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscrelationrefundAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscrelationrefundAPIRequest) GetSearchOption ¶ added in v1.3.1
func (r TaobaotbkscrelationrefundAPIRequest) GetSearchOption() *TopApiRefundRptOption
GetSearchOption SearchOption Getter
func (*TaobaotbkscrelationrefundAPIRequest) SetSearchOption ¶ added in v1.3.1
func (r *TaobaotbkscrelationrefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error
SetSearchOption is SearchOption Setter 参数option
type TaobaotbkscrelationrefundAPIResponse ¶ added in v1.3.1
type TaobaotbkscrelationrefundAPIResponse struct { model.CommonResponse TaobaotbkscrelationrefundAPIResponseModel }
TaobaotbkscrelationrefundAPIResponse 淘宝客-服务商-维权退款订单查询 API返回值 taobao.tbk.sc.relation.refund
淘宝客维权退款订单查询-渠道管理和会员运营管理专用
type TaobaotbkscrelationrefundAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscrelationrefundAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_relation_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果封装对象 Result *TaobaotbkscrelationrefundRpcResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkscrelationrefundAPIResponseModel is 淘宝客-服务商-维权退款订单查询 成功返回结果
type TaobaotbkscrelationrefundResult ¶ added in v1.3.1
type TaobaotbkscrelationrefundResult struct { // 第三方应该返还的补贴 TkSubsidyFeeRefund3rdPub string `json:"tk_subsidy_fee_refund3rd_pub,omitempty" xml:"tk_subsidy_fee_refund3rd_pub,omitempty"` // 第三方应该返还的佣金 TkCommissionFeeRefund3rdPub string `json:"tk_commission_fee_refund3rd_pub,omitempty" xml:"tk_commission_fee_refund3rd_pub,omitempty"` // 第二方应该返还的补贴(不包括技术服务费) TkSubsidyFeeRefundPub string `json:"tk_subsidy_fee_refund_pub,omitempty" xml:"tk_subsidy_fee_refund_pub,omitempty"` // 第二方应该返还的佣金(不包括技术服务费) TkCommissionFeeRefundPub string `json:"tk_commission_fee_refund_pub,omitempty" xml:"tk_commission_fee_refund_pub,omitempty"` // 维权完成时间 TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"` // 维权创建时间 TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"` // 订单结算时间 EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"` // 订单创建时间 TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"` // 宝贝标题 TbAuctionTitle string `json:"tb_auction_title,omitempty" xml:"tb_auction_title,omitempty"` // 维权金额 RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"` // 结算金额 TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"` // 应返商家金额(二方) TkPubShowReturnFee string `json:"tk_pub_show_return_fee,omitempty" xml:"tk_pub_show_return_fee,omitempty"` // 应返商家金额(三方) Tk3rdPubShowReturnFee string `json:"tk3rd_pub_show_return_fee,omitempty" xml:"tk3rd_pub_show_return_fee,omitempty"` // (口碑订单)口碑父订单号 AlscPid string `json:"alsc_pid,omitempty" xml:"alsc_pid,omitempty"` // (口碑订单)口碑子订单号 AlscId string `json:"alsc_id,omitempty" xml:"alsc_id,omitempty"` // 更新时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 淘宝订单编号 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // 会员关系id SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 第三方推广者memberid Tk3rdPubId int64 `json:"tk3rd_pub_id,omitempty" xml:"tk3rd_pub_id,omitempty"` // 推广者memberid TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"` // 维权创建(淘客结算回执) 4,维权成功(淘客结算回执) 2,维权失败(淘客结算回执) 3,发生多次维权,待处理 11,从淘客处补扣(钱已结给淘客) 等待扣款 12,从淘客处补扣(钱已结给淘客) 扣款成功 13,从卖家处补扣(钱已结给卖家) 等待扣款 14,从卖家处补扣(钱已结给卖家) 扣款成功 15 RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 淘宝子订单编号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 1 表示2方,2表示3方 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` }
TaobaotbkscrelationrefundResult 结构体
type TaobaotbkscrelationrefundRpcResult ¶ added in v1.3.1
type TaobaotbkscrelationrefundRpcResult struct { // 返回信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 业务错误信息 BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"` // 真正的业务数据结构 Data *PageResult `json:"data,omitempty" xml:"data,omitempty"` // 接口返回值信息,跟rpc架构保持一致 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 业务错误码 101, 102,103 BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"` }
TaobaotbkscrelationrefundRpcResult 结构体
type TaobaotbkscshopconvertAPIRequest ¶ added in v1.3.1
type TaobaotbkscshopconvertAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscshopconvertAPIRequest 淘宝客-服务商-店铺链接转换 API请求 taobao.tbk.sc.shop.convert
服务商使用。支持入参推广者对应的“推广位”和卖家id,获取对应的店铺推广链接。
func NewTaobaotbkscshopconvertRequest ¶ added in v1.3.1
func NewTaobaotbkscshopconvertRequest() *TaobaotbkscshopconvertAPIRequest
NewTaobaotbkscshopconvertRequest 初始化TaobaotbkscshopconvertAPIRequest对象
func (TaobaotbkscshopconvertAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbkscshopconvertAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscshopconvertAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscshopconvertAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaotbkscshopconvertAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkscshopconvertAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscshopconvertAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaotbkscshopconvertAPIRequest) GetUnid ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetUnid() string
GetUnid Unid Getter
func (TaobaotbkscshopconvertAPIRequest) GetUserIds ¶ added in v1.3.1
func (r TaobaotbkscshopconvertAPIRequest) GetUserIds() string
GetUserIds UserIds Getter
func (*TaobaotbkscshopconvertAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbkscshopconvertAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字
func (*TaobaotbkscshopconvertAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaotbkscshopconvertAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表
func (*TaobaotbkscshopconvertAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkscshopconvertAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式-1:PC,2:无线。默认为1
func (*TaobaotbkscshopconvertAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbkscshopconvertAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字
func (*TaobaotbkscshopconvertAPIRequest) SetUnid ¶ added in v1.3.1
func (r *TaobaotbkscshopconvertAPIRequest) SetUnid(_unid string) error
SetUnid is Unid Setter (该字段不开放)自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道
func (*TaobaotbkscshopconvertAPIRequest) SetUserIds ¶ added in v1.3.1
func (r *TaobaotbkscshopconvertAPIRequest) SetUserIds(_userIds string) error
SetUserIds is UserIds Setter 卖家id串,用,分割,从taobao.tbk.shop.get接口获取user_id字段
type TaobaotbkscshopconvertAPIResponse ¶ added in v1.3.1
type TaobaotbkscshopconvertAPIResponse struct { model.CommonResponse TaobaotbkscshopconvertAPIResponseModel }
TaobaotbkscshopconvertAPIResponse 淘宝客-服务商-店铺链接转换 API返回值 taobao.tbk.sc.shop.convert
服务商使用。支持入参推广者对应的“推广位”和卖家id,获取对应的店铺推广链接。
type TaobaotbkscshopconvertAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscshopconvertAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_shop_convert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 加入淘宝客的店铺 Results []NtbkShop `json:"results,omitempty" xml:"results>ntbk_shop,omitempty"` }
TaobaotbkscshopconvertAPIResponseModel is 淘宝客-服务商-店铺链接转换 成功返回结果
type TaobaotbksctpwdconvertAPIRequest ¶ added in v1.3.1
type TaobaotbksctpwdconvertAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbksctpwdconvertAPIRequest 淘宝客-服务商-淘口令解析&转链 API请求 taobao.tbk.sc.tpwd.convert
支持通过淘口令解析商品id,并提供对应的淘客转链接
func NewTaobaotbksctpwdconvertRequest ¶ added in v1.3.1
func NewTaobaotbksctpwdconvertRequest() *TaobaotbksctpwdconvertAPIRequest
NewTaobaotbksctpwdconvertRequest 初始化TaobaotbksctpwdconvertAPIRequest对象
func (TaobaotbksctpwdconvertAPIRequest) GetAdzoneId ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetAdzoneId() int64
GetAdzoneId AdzoneId Getter
func (TaobaotbksctpwdconvertAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbksctpwdconvertAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbksctpwdconvertAPIRequest) GetDx ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetDx() string
GetDx Dx Getter
func (TaobaotbksctpwdconvertAPIRequest) GetPasswordContent ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetPasswordContent() string
GetPasswordContent PasswordContent Getter
func (TaobaotbksctpwdconvertAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbksctpwdconvertAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbksctpwdconvertAPIRequest) GetSiteId ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetSiteId() int64
GetSiteId SiteId Getter
func (TaobaotbksctpwdconvertAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbksctpwdconvertAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaotbksctpwdconvertAPIRequest) SetAdzoneId ¶ added in v1.3.1
func (r *TaobaotbksctpwdconvertAPIRequest) SetAdzoneId(_adzoneId int64) error
SetAdzoneId is AdzoneId Setter 广告位ID,mm_xx_xx_xx pid三段式中的第三段
func (*TaobaotbksctpwdconvertAPIRequest) SetDx ¶ added in v1.3.1
func (r *TaobaotbksctpwdconvertAPIRequest) SetDx(_dx string) error
SetDx is Dx Setter 1表示商品转通用计划链接,其他值或不传表示优先转营销计划链接
func (*TaobaotbksctpwdconvertAPIRequest) SetPasswordContent ¶ added in v1.3.1
func (r *TaobaotbksctpwdconvertAPIRequest) SetPasswordContent(_passwordContent string) error
SetPasswordContent is PasswordContent Setter 需要解析的淘口令
func (*TaobaotbksctpwdconvertAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbksctpwdconvertAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道id
func (*TaobaotbksctpwdconvertAPIRequest) SetSiteId ¶ added in v1.3.1
func (r *TaobaotbksctpwdconvertAPIRequest) SetSiteId(_siteId int64) error
SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
func (*TaobaotbksctpwdconvertAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbksctpwdconvertAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果
type TaobaotbksctpwdconvertAPIResponse ¶ added in v1.3.1
type TaobaotbksctpwdconvertAPIResponse struct { model.CommonResponse TaobaotbksctpwdconvertAPIResponseModel }
TaobaotbksctpwdconvertAPIResponse 淘宝客-服务商-淘口令解析&转链 API返回值 taobao.tbk.sc.tpwd.convert
支持通过淘口令解析商品id,并提供对应的淘客转链接
type TaobaotbksctpwdconvertAPIResponseModel ¶ added in v1.3.1
type TaobaotbksctpwdconvertAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_tpwd_convert_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbksctpwdconvertMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbksctpwdconvertAPIResponseModel is 淘宝客-服务商-淘口令解析&转链 成功返回结果
type TaobaotbksctpwdconvertMapData ¶ added in v1.3.1
type TaobaotbksctpwdconvertMapData struct { // 商品Id NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"` // 商品淘客转链链接 ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"` // 店铺卖家ID SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 入参淘口令对应原始链接 OriginUrl string `json:"origin_url,omitempty" xml:"origin_url,omitempty"` // 入参淘口令推广链接中的pid,如果不属于当前调用的推广者则展示“0” OriginPid string `json:"origin_pid,omitempty" xml:"origin_pid,omitempty"` // 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景 BizSceneId string `json:"biz_scene_id,omitempty" xml:"biz_scene_id,omitempty"` // 短口令 Model string `json:"model,omitempty" xml:"model,omitempty"` // 长口令 Password string `json:"password,omitempty" xml:"password,omitempty"` // 短链接 ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"` // 1-单品,2-店铺,3-活动,0-其它 UrlType string `json:"url_type,omitempty" xml:"url_type,omitempty"` }
TaobaotbksctpwdconvertMapData 结构体
type TaobaotbkscucrowdcreateAPIRequest ¶ added in v1.3.1
type TaobaotbkscucrowdcreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscucrowdcreateAPIRequest 淘宝客-服务商-创建人群标签 API请求 taobao.tbk.sc.ucrowd.create
服务商使用。可为淘宝客创建会员人群标签,获得人群id,人群id可用于物料评估推荐等场景。
func NewTaobaotbkscucrowdcreateRequest ¶ added in v1.3.1
func NewTaobaotbkscucrowdcreateRequest() *TaobaotbkscucrowdcreateAPIRequest
NewTaobaotbkscucrowdcreateRequest 初始化TaobaotbkscucrowdcreateAPIRequest对象
func (TaobaotbkscucrowdcreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscucrowdcreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscucrowdcreateAPIRequest) GetDesc ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaotbkscucrowdcreateAPIRequest) GetExternalCrowdCode ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetExternalCrowdCode() string
GetExternalCrowdCode ExternalCrowdCode Getter
func (TaobaotbkscucrowdcreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscucrowdcreateAPIRequest) GetUcrowdName ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetUcrowdName() string
GetUcrowdName UcrowdName Getter
func (TaobaotbkscucrowdcreateAPIRequest) GetUcrowdType ¶ added in v1.3.1
func (r TaobaotbkscucrowdcreateAPIRequest) GetUcrowdType() int64
GetUcrowdType UcrowdType Getter
func (*TaobaotbkscucrowdcreateAPIRequest) SetDesc ¶ added in v1.3.1
func (r *TaobaotbkscucrowdcreateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 人群描述,最大100字符
func (*TaobaotbkscucrowdcreateAPIRequest) SetExternalCrowdCode ¶ added in v1.3.1
func (r *TaobaotbkscucrowdcreateAPIRequest) SetExternalCrowdCode(_externalCrowdCode string) error
SetExternalCrowdCode is ExternalCrowdCode Setter 人群外部编码,只能包含:字母、数字、下划线(以字母、数字开头),最大128字符
func (*TaobaotbkscucrowdcreateAPIRequest) SetUcrowdName ¶ added in v1.3.1
func (r *TaobaotbkscucrowdcreateAPIRequest) SetUcrowdName(_ucrowdName string) error
SetUcrowdName is UcrowdName Setter 人群名称,最大32字符
func (*TaobaotbkscucrowdcreateAPIRequest) SetUcrowdType ¶ added in v1.3.1
func (r *TaobaotbkscucrowdcreateAPIRequest) SetUcrowdType(_ucrowdType int64) error
SetUcrowdType is UcrowdType Setter 人群类型,1:社群
type TaobaotbkscucrowdcreateAPIResponse ¶ added in v1.3.1
type TaobaotbkscucrowdcreateAPIResponse struct { model.CommonResponse TaobaotbkscucrowdcreateAPIResponseModel }
TaobaotbkscucrowdcreateAPIResponse 淘宝客-服务商-创建人群标签 API返回值 taobao.tbk.sc.ucrowd.create
服务商使用。可为淘宝客创建会员人群标签,获得人群id,人群id可用于物料评估推荐等场景。
type TaobaotbkscucrowdcreateAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscucrowdcreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscucrowdcreateRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscucrowdcreateAPIResponseModel is 淘宝客-服务商-创建人群标签 成功返回结果
type TaobaotbkscucrowdcreateRpcResult ¶ added in v1.3.1
type TaobaotbkscucrowdcreateRpcResult struct { // 人群标签id UcrowdId int64 `json:"ucrowd_id,omitempty" xml:"ucrowd_id,omitempty"` }
TaobaotbkscucrowdcreateRpcResult 结构体
type TaobaotbkscucrowddeleteAPIRequest ¶ added in v1.3.1
type TaobaotbkscucrowddeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscucrowddeleteAPIRequest 淘宝客-服务商-删除人群标签 API请求 taobao.tbk.sc.ucrowd.delete
服务商使用。支持淘宝客删除人群标签id,被删除的人群标签id将失效,并不可重新生效。
func NewTaobaotbkscucrowddeleteRequest ¶ added in v1.3.1
func NewTaobaotbkscucrowddeleteRequest() *TaobaotbkscucrowddeleteAPIRequest
NewTaobaotbkscucrowddeleteRequest 初始化TaobaotbkscucrowddeleteAPIRequest对象
func (TaobaotbkscucrowddeleteAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscucrowddeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscucrowddeleteAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscucrowddeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscucrowddeleteAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscucrowddeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscucrowddeleteAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkscucrowddeleteAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaotbkscucrowddeleteAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkscucrowddeleteAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签id
type TaobaotbkscucrowddeleteAPIResponse ¶ added in v1.3.1
type TaobaotbkscucrowddeleteAPIResponse struct { model.CommonResponse TaobaotbkscucrowddeleteAPIResponseModel }
TaobaotbkscucrowddeleteAPIResponse 淘宝客-服务商-删除人群标签 API返回值 taobao.tbk.sc.ucrowd.delete
服务商使用。支持淘宝客删除人群标签id,被删除的人群标签id将失效,并不可重新生效。
type TaobaotbkscucrowddeleteAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscucrowddeleteAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscucrowddeleteRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscucrowddeleteAPIResponseModel is 淘宝客-服务商-删除人群标签 成功返回结果
type TaobaotbkscucrowddeleteRpcResult ¶ added in v1.3.1
type TaobaotbkscucrowddeleteRpcResult struct { // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaotbkscucrowddeleteRpcResult 结构体
type TaobaotbkscucrowdgetAPIRequest ¶ added in v1.3.1
type TaobaotbkscucrowdgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscucrowdgetAPIRequest 淘宝客-服务商-获取人群标签 API请求 taobao.tbk.sc.ucrowd.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群信息,包括人群名称描述及覆盖会员数。
func NewTaobaotbkscucrowdgetRequest ¶ added in v1.3.1
func NewTaobaotbkscucrowdgetRequest() *TaobaotbkscucrowdgetAPIRequest
NewTaobaotbkscucrowdgetRequest 初始化TaobaotbkscucrowdgetAPIRequest对象
func (TaobaotbkscucrowdgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscucrowdgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscucrowdgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscucrowdgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscucrowdgetAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkscucrowdgetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaotbkscucrowdgetAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkscucrowdgetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签id
type TaobaotbkscucrowdgetAPIResponse ¶ added in v1.3.1
type TaobaotbkscucrowdgetAPIResponse struct { model.CommonResponse TaobaotbkscucrowdgetAPIResponseModel }
TaobaotbkscucrowdgetAPIResponse 淘宝客-服务商-获取人群标签 API返回值 taobao.tbk.sc.ucrowd.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群信息,包括人群名称描述及覆盖会员数。
type TaobaotbkscucrowdgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscucrowdgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscucrowdgetRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscucrowdgetAPIResponseModel is 淘宝客-服务商-获取人群标签 成功返回结果
type TaobaotbkscucrowdgetRpcResult ¶ added in v1.3.1
type TaobaotbkscucrowdgetRpcResult struct { // 人群 Ucrowd *CrowdDto `json:"ucrowd,omitempty" xml:"ucrowd,omitempty"` }
TaobaotbkscucrowdgetRpcResult 结构体
type TaobaotbkscucrowdmemberaddAPIRequest ¶ added in v1.3.1
type TaobaotbkscucrowdmemberaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscucrowdmemberaddAPIRequest 淘宝客-服务商-上传人群数据 API请求 taobao.tbk.sc.ucrowd.member.add
服务商使用。支持淘宝客上传人群标签id对应的会员列表,支持全量和增量多种数据更新方式。
func NewTaobaotbkscucrowdmemberaddRequest ¶ added in v1.3.1
func NewTaobaotbkscucrowdmemberaddRequest() *TaobaotbkscucrowdmemberaddAPIRequest
NewTaobaotbkscucrowdmemberaddRequest 初始化TaobaotbkscucrowdmemberaddAPIRequest对象
func (TaobaotbkscucrowdmemberaddAPIRequest) GetAccountList ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetAccountList() []string
GetAccountList AccountList Getter
func (TaobaotbkscucrowdmemberaddAPIRequest) GetAccountType ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetAccountType() int64
GetAccountType AccountType Getter
func (TaobaotbkscucrowdmemberaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscucrowdmemberaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscucrowdmemberaddAPIRequest) GetEditType ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetEditType() int64
GetEditType EditType Getter
func (TaobaotbkscucrowdmemberaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscucrowdmemberaddAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkscucrowdmemberaddAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaotbkscucrowdmemberaddAPIRequest) SetAccountList ¶ added in v1.3.1
func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetAccountList(_accountList []string) error
SetAccountList is AccountList Setter 成员列表
func (*TaobaotbkscucrowdmemberaddAPIRequest) SetAccountType ¶ added in v1.3.1
func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetAccountType(_accountType int64) error
SetAccountType is AccountType Setter 成员账号类型,1:sid
func (*TaobaotbkscucrowdmemberaddAPIRequest) SetEditType ¶ added in v1.3.1
func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetEditType(_editType int64) error
SetEditType is EditType Setter 更新方式,1:增量更新,2:全量更新
func (*TaobaotbkscucrowdmemberaddAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkscucrowdmemberaddAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群id
type TaobaotbkscucrowdmemberaddAPIResponse ¶ added in v1.3.1
type TaobaotbkscucrowdmemberaddAPIResponse struct { model.CommonResponse TaobaotbkscucrowdmemberaddAPIResponseModel }
TaobaotbkscucrowdmemberaddAPIResponse 淘宝客-服务商-上传人群数据 API返回值 taobao.tbk.sc.ucrowd.member.add
服务商使用。支持淘宝客上传人群标签id对应的会员列表,支持全量和增量多种数据更新方式。
type TaobaotbkscucrowdmemberaddAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscucrowdmemberaddAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_member_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscucrowdmemberaddRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscucrowdmemberaddAPIResponseModel is 淘宝客-服务商-上传人群数据 成功返回结果
type TaobaotbkscucrowdmemberaddRpcResult ¶ added in v1.3.1
type TaobaotbkscucrowdmemberaddRpcResult struct { // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaotbkscucrowdmemberaddRpcResult 结构体
type TaobaotbkscucrowdreportgetAPIRequest ¶ added in v1.3.1
type TaobaotbkscucrowdreportgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscucrowdreportgetAPIRequest 淘宝客-服务商-人群推广效果 API请求 taobao.tbk.sc.ucrowd.report.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群的推广和转化效果数据。
func NewTaobaotbkscucrowdreportgetRequest ¶ added in v1.3.1
func NewTaobaotbkscucrowdreportgetRequest() *TaobaotbkscucrowdreportgetAPIRequest
NewTaobaotbkscucrowdreportgetRequest 初始化TaobaotbkscucrowdreportgetAPIRequest对象
func (TaobaotbkscucrowdreportgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscucrowdreportgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscucrowdreportgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdreportgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscucrowdreportgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscucrowdreportgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscucrowdreportgetAPIRequest) GetReportDate ¶ added in v1.3.1
func (r TaobaotbkscucrowdreportgetAPIRequest) GetReportDate() string
GetReportDate ReportDate Getter
func (TaobaotbkscucrowdreportgetAPIRequest) GetUcrowdId ¶ added in v1.3.1
func (r TaobaotbkscucrowdreportgetAPIRequest) GetUcrowdId() int64
GetUcrowdId UcrowdId Getter
func (*TaobaotbkscucrowdreportgetAPIRequest) SetReportDate ¶ added in v1.3.1
func (r *TaobaotbkscucrowdreportgetAPIRequest) SetReportDate(_reportDate string) error
SetReportDate is ReportDate Setter 报表日期,支持:月、日,示例:2020-12,2020-12-30
func (*TaobaotbkscucrowdreportgetAPIRequest) SetUcrowdId ¶ added in v1.3.1
func (r *TaobaotbkscucrowdreportgetAPIRequest) SetUcrowdId(_ucrowdId int64) error
SetUcrowdId is UcrowdId Setter 人群标签id
type TaobaotbkscucrowdreportgetAPIResponse ¶ added in v1.3.1
type TaobaotbkscucrowdreportgetAPIResponse struct { model.CommonResponse TaobaotbkscucrowdreportgetAPIResponseModel }
TaobaotbkscucrowdreportgetAPIResponse 淘宝客-服务商-人群推广效果 API返回值 taobao.tbk.sc.ucrowd.report.get
服务商使用。支持淘宝客通过入参人群标签id,获得人群的推广和转化效果数据。
type TaobaotbkscucrowdreportgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscucrowdreportgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_ucrowd_report_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TaobaotbkscucrowdreportgetRpcResult `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscucrowdreportgetAPIResponseModel is 淘宝客-服务商-人群推广效果 成功返回结果
type TaobaotbkscucrowdreportgetRpcResult ¶ added in v1.3.1
type TaobaotbkscucrowdreportgetRpcResult struct { // ucrowd_report UcrowdReport *DwsUnionAppDto `json:"ucrowd_report,omitempty" xml:"ucrowd_report,omitempty"` }
TaobaotbkscucrowdreportgetRpcResult 结构体
type TaobaotbkscvegassendreportAPIRequest ¶ added in v1.3.1
type TaobaotbkscvegassendreportAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscvegassendreportAPIRequest 淘宝客-服务商-查询红包发放个数 API请求 taobao.tbk.sc.vegas.send.report
服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。
func NewTaobaotbkscvegassendreportRequest ¶ added in v1.3.1
func NewTaobaotbkscvegassendreportRequest() *TaobaotbkscvegassendreportAPIRequest
NewTaobaotbkscvegassendreportRequest 初始化TaobaotbkscvegassendreportAPIRequest对象
func (TaobaotbkscvegassendreportAPIRequest) GetActivityCategory ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetActivityCategory() int64
GetActivityCategory ActivityCategory Getter
func (TaobaotbkscvegassendreportAPIRequest) GetActivityId ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetActivityId() int64
GetActivityId ActivityId Getter
func (TaobaotbkscvegassendreportAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscvegassendreportAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscvegassendreportAPIRequest) GetBizDate ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetBizDate() string
GetBizDate BizDate Getter
func (TaobaotbkscvegassendreportAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkscvegassendreportAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkscvegassendreportAPIRequest) GetPid ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetPid() string
GetPid Pid Getter
func (TaobaotbkscvegassendreportAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscvegassendreportAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetRelationId() int64
GetRelationId RelationId Getter
func (TaobaotbkscvegassendreportAPIRequest) GetRptDim ¶ added in v1.3.1
func (r TaobaotbkscvegassendreportAPIRequest) GetRptDim() string
GetRptDim RptDim Getter
func (*TaobaotbkscvegassendreportAPIRequest) SetActivityCategory ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetActivityCategory(_activityCategory int64) error
SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据
func (*TaobaotbkscvegassendreportAPIRequest) SetActivityId ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetActivityId(_activityId int64) error
SetActivityId is ActivityId Setter 已下线,后续不需要填写
func (*TaobaotbkscvegassendreportAPIRequest) SetBizDate ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetBizDate(_bizDate string) error
SetBizDate is BizDate Setter 统计日期
func (*TaobaotbkscvegassendreportAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaotbkscvegassendreportAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页大小
func (*TaobaotbkscvegassendreportAPIRequest) SetPid ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetPid(_pid string) error
SetPid is Pid Setter 媒体推广pid
func (*TaobaotbkscvegassendreportAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetRelationId(_relationId int64) error
SetRelationId is RelationId Setter 渠道关系id
func (*TaobaotbkscvegassendreportAPIRequest) SetRptDim ¶ added in v1.3.1
func (r *TaobaotbkscvegassendreportAPIRequest) SetRptDim(_rptDim string) error
SetRptDim is RptDim Setter 查询维度,不填写默认是pid维度
type TaobaotbkscvegassendreportAPIResponse ¶ added in v1.3.1
type TaobaotbkscvegassendreportAPIResponse struct { model.CommonResponse TaobaotbkscvegassendreportAPIResponseModel }
TaobaotbkscvegassendreportAPIResponse 淘宝客-服务商-查询红包发放个数 API返回值 taobao.tbk.sc.vegas.send.report
服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。
type TaobaotbkscvegassendreportAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscvegassendreportAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_vegas_send_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaotbkscvegassendreportResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaotbkscvegassendreportAPIResponseModel is 淘宝客-服务商-查询红包发放个数 成功返回结果
type TaobaotbkscvegassendreportResult ¶ added in v1.3.1
type TaobaotbkscvegassendreportResult struct { // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // msgCode MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // model Model *RightsSendRptDto `json:"model,omitempty" xml:"model,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaotbkscvegassendreportResult 结构体
type TaobaotbkscvegassendstatusAPIRequest ¶ added in v1.3.1
type TaobaotbkscvegassendstatusAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkscvegassendstatusAPIRequest 淘宝客-服务商-红包领取状态查询 API请求 taobao.tbk.sc.vegas.send.status
服务商使用。支持淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包。接入前需签署协议:https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin
func NewTaobaotbkscvegassendstatusRequest ¶ added in v1.3.1
func NewTaobaotbkscvegassendstatusRequest() *TaobaotbkscvegassendstatusAPIRequest
NewTaobaotbkscvegassendstatusRequest 初始化TaobaotbkscvegassendstatusAPIRequest对象
func (TaobaotbkscvegassendstatusAPIRequest) GetActivityCategory ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetActivityCategory() int64
GetActivityCategory ActivityCategory Getter
func (TaobaotbkscvegassendstatusAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkscvegassendstatusAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkscvegassendstatusAPIRequest) GetDeviceType ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetDeviceType() string
GetDeviceType DeviceType Getter
func (TaobaotbkscvegassendstatusAPIRequest) GetDeviceValue ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetDeviceValue() string
GetDeviceValue DeviceValue Getter
func (TaobaotbkscvegassendstatusAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkscvegassendstatusAPIRequest) GetRelationId ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetRelationId() string
GetRelationId RelationId Getter
func (TaobaotbkscvegassendstatusAPIRequest) GetSpecialId ¶ added in v1.3.1
func (r TaobaotbkscvegassendstatusAPIRequest) GetSpecialId() string
GetSpecialId SpecialId Getter
func (*TaobaotbkscvegassendstatusAPIRequest) SetActivityCategory ¶ added in v1.3.1
func (r *TaobaotbkscvegassendstatusAPIRequest) SetActivityCategory(_activityCategory int64) error
SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据
func (*TaobaotbkscvegassendstatusAPIRequest) SetDeviceType ¶ added in v1.3.1
func (r *TaobaotbkscvegassendstatusAPIRequest) SetDeviceType(_deviceType string) error
SetDeviceType is DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE
func (*TaobaotbkscvegassendstatusAPIRequest) SetDeviceValue ¶ added in v1.3.1
func (r *TaobaotbkscvegassendstatusAPIRequest) SetDeviceValue(_deviceValue string) error
SetDeviceValue is DeviceValue Setter 加密后的值,需用MD5加密,32位小写
func (*TaobaotbkscvegassendstatusAPIRequest) SetRelationId ¶ added in v1.3.1
func (r *TaobaotbkscvegassendstatusAPIRequest) SetRelationId(_relationId string) error
SetRelationId is RelationId Setter 渠道管理id
func (*TaobaotbkscvegassendstatusAPIRequest) SetSpecialId ¶ added in v1.3.1
func (r *TaobaotbkscvegassendstatusAPIRequest) SetSpecialId(_specialId string) error
SetSpecialId is SpecialId Setter 会员运营id
type TaobaotbkscvegassendstatusAPIResponse ¶ added in v1.3.1
type TaobaotbkscvegassendstatusAPIResponse struct { model.CommonResponse TaobaotbkscvegassendstatusAPIResponseModel }
TaobaotbkscvegassendstatusAPIResponse 淘宝客-服务商-红包领取状态查询 API返回值 taobao.tbk.sc.vegas.send.status
服务商使用。支持淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包。接入前需签署协议:https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin
type TaobaotbkscvegassendstatusAPIResponseModel ¶ added in v1.3.1
type TaobaotbkscvegassendstatusAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sc_vegas_send_status_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果描述信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 返回结果封装对象 Data *TaobaotbkscvegassendstatusData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbkscvegassendstatusAPIResponseModel is 淘宝客-服务商-红包领取状态查询 成功返回结果
type TaobaotbkscvegassendstatusData ¶ added in v1.3.1
type TaobaotbkscvegassendstatusData struct { // 返回结果封装对象 ResultList []TaobaotbkscvegassendstatusMapData `json:"result_list,omitempty" xml:"result_list>taobaotbkscvegassendstatus_map_data,omitempty"` }
TaobaotbkscvegassendstatusData 结构体
type TaobaotbkscvegassendstatusMapData ¶ added in v1.3.1
type TaobaotbkscvegassendstatusMapData struct { // 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0 IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"` }
TaobaotbkscvegassendstatusMapData 结构体
type TaobaotbkshopgetAPIRequest ¶ added in v1.3.1
TaobaotbkshopgetAPIRequest 淘宝客-推广者-店铺搜索 API请求 taobao.tbk.shop.get
淘宝客店铺查询
func NewTaobaotbkshopgetRequest ¶ added in v1.3.1
func NewTaobaotbkshopgetRequest() *TaobaotbkshopgetAPIRequest
NewTaobaotbkshopgetRequest 初始化TaobaotbkshopgetAPIRequest对象
func (TaobaotbkshopgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkshopgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkshopgetAPIRequest) GetEndAuctionCount ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetEndAuctionCount() int64
GetEndAuctionCount EndAuctionCount Getter
func (TaobaotbkshopgetAPIRequest) GetEndCommissionRate ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetEndCommissionRate() int64
GetEndCommissionRate EndCommissionRate Getter
func (TaobaotbkshopgetAPIRequest) GetEndCredit ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetEndCredit() int64
GetEndCredit EndCredit Getter
func (TaobaotbkshopgetAPIRequest) GetEndTotalAction ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetEndTotalAction() int64
GetEndTotalAction EndTotalAction Getter
func (TaobaotbkshopgetAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaotbkshopgetAPIRequest) GetIsTmall ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetIsTmall() bool
GetIsTmall IsTmall Getter
func (TaobaotbkshopgetAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaotbkshopgetAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaotbkshopgetAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkshopgetAPIRequest) GetQ ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetQ() string
GetQ Q Getter
func (TaobaotbkshopgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkshopgetAPIRequest) GetSort ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetSort() string
GetSort Sort Getter
func (TaobaotbkshopgetAPIRequest) GetStartAuctionCount ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetStartAuctionCount() int64
GetStartAuctionCount StartAuctionCount Getter
func (TaobaotbkshopgetAPIRequest) GetStartCommissionRate ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetStartCommissionRate() int64
GetStartCommissionRate StartCommissionRate Getter
func (TaobaotbkshopgetAPIRequest) GetStartCredit ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetStartCredit() int64
GetStartCredit StartCredit Getter
func (TaobaotbkshopgetAPIRequest) GetStartTotalAction ¶ added in v1.3.1
func (r TaobaotbkshopgetAPIRequest) GetStartTotalAction() int64
GetStartTotalAction StartTotalAction Getter
func (*TaobaotbkshopgetAPIRequest) SetEndAuctionCount ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error
SetEndAuctionCount is EndAuctionCount Setter 累计推广商品上限
func (*TaobaotbkshopgetAPIRequest) SetEndCommissionRate ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error
SetEndCommissionRate is EndCommissionRate Setter 淘客佣金比率上限,1~10000
func (*TaobaotbkshopgetAPIRequest) SetEndCredit ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetEndCredit(_endCredit int64) error
SetEndCredit is EndCredit Setter 信用等级上限,1~20
func (*TaobaotbkshopgetAPIRequest) SetEndTotalAction ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetEndTotalAction(_endTotalAction int64) error
SetEndTotalAction is EndTotalAction Setter 店铺商品总数上限
func (*TaobaotbkshopgetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表
func (*TaobaotbkshopgetAPIRequest) SetIsTmall ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetIsTmall(_isTmall bool) error
SetIsTmall is IsTmall Setter 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性
func (*TaobaotbkshopgetAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 第几页,默认1,1~100
func (*TaobaotbkshopgetAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,默认20,1~100
func (*TaobaotbkshopgetAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaotbkshopgetAPIRequest) SetQ ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetQ(_q string) error
SetQ is Q Setter 查询词
func (*TaobaotbkshopgetAPIRequest) SetSort ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetSort(_sort string) error
SetSort is Sort Setter 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)
func (*TaobaotbkshopgetAPIRequest) SetStartAuctionCount ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error
SetStartAuctionCount is StartAuctionCount Setter 累计推广商品下限
func (*TaobaotbkshopgetAPIRequest) SetStartCommissionRate ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error
SetStartCommissionRate is StartCommissionRate Setter 淘客佣金比率下限,1~10000
func (*TaobaotbkshopgetAPIRequest) SetStartCredit ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetStartCredit(_startCredit int64) error
SetStartCredit is StartCredit Setter 信用等级下限,1~20
func (*TaobaotbkshopgetAPIRequest) SetStartTotalAction ¶ added in v1.3.1
func (r *TaobaotbkshopgetAPIRequest) SetStartTotalAction(_startTotalAction int64) error
SetStartTotalAction is StartTotalAction Setter 店铺商品总数下限
type TaobaotbkshopgetAPIResponse ¶ added in v1.3.1
type TaobaotbkshopgetAPIResponse struct { model.CommonResponse TaobaotbkshopgetAPIResponseModel }
TaobaotbkshopgetAPIResponse 淘宝客-推广者-店铺搜索 API返回值 taobao.tbk.shop.get
淘宝客店铺查询
type TaobaotbkshopgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkshopgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_shop_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客店铺 Results []NtbkShop `json:"results,omitempty" xml:"results>ntbk_shop,omitempty"` // 搜索到符合条件的结果总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaotbkshopgetAPIResponseModel is 淘宝客-推广者-店铺搜索 成功返回结果
type TaobaotbkshoprecommendgetAPIRequest ¶ added in v1.3.1
type TaobaotbkshoprecommendgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkshoprecommendgetAPIRequest 淘宝客-公用-店铺关联推荐 API请求 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
func NewTaobaotbkshoprecommendgetRequest ¶ added in v1.3.1
func NewTaobaotbkshoprecommendgetRequest() *TaobaotbkshoprecommendgetAPIRequest
NewTaobaotbkshoprecommendgetRequest 初始化TaobaotbkshoprecommendgetAPIRequest对象
func (TaobaotbkshoprecommendgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkshoprecommendgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkshoprecommendgetAPIRequest) GetCount ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetCount() int64
GetCount Count Getter
func (TaobaotbkshoprecommendgetAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaotbkshoprecommendgetAPIRequest) GetPlatform ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetPlatform() int64
GetPlatform Platform Getter
func (TaobaotbkshoprecommendgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkshoprecommendgetAPIRequest) GetUserId ¶ added in v1.3.1
func (r TaobaotbkshoprecommendgetAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*TaobaotbkshoprecommendgetAPIRequest) SetCount ¶ added in v1.3.1
func (r *TaobaotbkshoprecommendgetAPIRequest) SetCount(_count int64) error
SetCount is Count Setter 返回数量,默认20,最大值40
func (*TaobaotbkshoprecommendgetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaotbkshoprecommendgetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表
func (*TaobaotbkshoprecommendgetAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *TaobaotbkshoprecommendgetAPIRequest) SetPlatform(_platform int64) error
SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1
func (*TaobaotbkshoprecommendgetAPIRequest) SetUserId ¶ added in v1.3.1
func (r *TaobaotbkshoprecommendgetAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 卖家Id
type TaobaotbkshoprecommendgetAPIResponse ¶ added in v1.3.1
type TaobaotbkshoprecommendgetAPIResponse struct { model.CommonResponse TaobaotbkshoprecommendgetAPIResponseModel }
TaobaotbkshoprecommendgetAPIResponse 淘宝客-公用-店铺关联推荐 API返回值 taobao.tbk.shop.recommend.get
入参卖家id,可推荐与此店铺相关联的相关店铺。
type TaobaotbkshoprecommendgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkshoprecommendgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_shop_recommend_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝客店铺 Results []NtbkShop `json:"results,omitempty" xml:"results>ntbk_shop,omitempty"` }
TaobaotbkshoprecommendgetAPIResponseModel is 淘宝客-公用-店铺关联推荐 成功返回结果
type TaobaotbkskubestcouponAPIRequest ¶ added in v1.3.1
type TaobaotbkskubestcouponAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbkskubestcouponAPIRequest sku维度最优优惠券信息 API请求 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
func NewTaobaotbkskubestcouponRequest ¶ added in v1.3.1
func NewTaobaotbkskubestcouponRequest() *TaobaotbkskubestcouponAPIRequest
NewTaobaotbkskubestcouponRequest 初始化TaobaotbkskubestcouponAPIRequest对象
func (TaobaotbkskubestcouponAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkskubestcouponAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkskubestcouponAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkskubestcouponAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkskubestcouponAPIRequest) GetItemId ¶ added in v1.3.1
func (r TaobaotbkskubestcouponAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaotbkskubestcouponAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkskubestcouponAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkskubestcouponAPIRequest) GetSkuId ¶ added in v1.3.1
func (r TaobaotbkskubestcouponAPIRequest) GetSkuId() int64
GetSkuId SkuId Getter
func (*TaobaotbkskubestcouponAPIRequest) SetItemId ¶ added in v1.3.1
func (r *TaobaotbkskubestcouponAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaotbkskubestcouponAPIRequest) SetSkuId ¶ added in v1.3.1
func (r *TaobaotbkskubestcouponAPIRequest) SetSkuId(_skuId int64) error
SetSkuId is SkuId Setter 商品对应的skuId
type TaobaotbkskubestcouponAPIResponse ¶ added in v1.3.1
type TaobaotbkskubestcouponAPIResponse struct { model.CommonResponse TaobaotbkskubestcouponAPIResponseModel }
TaobaotbkskubestcouponAPIResponse sku维度最优优惠券信息 API返回值 taobao.tbk.sku.best.coupon
根据itemid和skuid查询最优优惠券信息
type TaobaotbkskubestcouponAPIResponseModel ¶ added in v1.3.1
type TaobaotbkskubestcouponAPIResponseModel struct { XMLName xml.Name `xml:"tbk_sku_best_coupon_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 优惠券详细信息 CouponInfo *TaobaotbkskubestcouponMapData `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"` }
TaobaotbkskubestcouponAPIResponseModel is sku维度最优优惠券信息 成功返回结果
type TaobaotbkskubestcouponMapData ¶ added in v1.3.1
type TaobaotbkskubestcouponMapData struct { // 优惠券过期时间13位时间戳 CouponExpireTime int64 `json:"coupon_expire_time,omitempty" xml:"coupon_expire_time,omitempty"` }
TaobaotbkskubestcouponMapData 结构体
type TaobaotbkspreadgetAPIRequest ¶ added in v1.3.1
TaobaotbkspreadgetAPIRequest 淘宝客-公用-长链转短链 API请求 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
func NewTaobaotbkspreadgetRequest ¶ added in v1.3.1
func NewTaobaotbkspreadgetRequest() *TaobaotbkspreadgetAPIRequest
NewTaobaotbkspreadgetRequest 初始化TaobaotbkspreadgetAPIRequest对象
func (TaobaotbkspreadgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbkspreadgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbkspreadgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbkspreadgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbkspreadgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbkspreadgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbkspreadgetAPIRequest) GetRequests ¶ added in v1.3.1
func (r TaobaotbkspreadgetAPIRequest) GetRequests() []TbkSpreadRequest
GetRequests Requests Getter
func (*TaobaotbkspreadgetAPIRequest) SetRequests ¶ added in v1.3.1
func (r *TaobaotbkspreadgetAPIRequest) SetRequests(_requests []TbkSpreadRequest) error
SetRequests is Requests Setter 请求列表,内部包含多个url
type TaobaotbkspreadgetAPIResponse ¶ added in v1.3.1
type TaobaotbkspreadgetAPIResponse struct { model.CommonResponse TaobaotbkspreadgetAPIResponseModel }
TaobaotbkspreadgetAPIResponse 淘宝客-公用-长链转短链 API返回值 taobao.tbk.spread.get
输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。
type TaobaotbkspreadgetAPIResponseModel ¶ added in v1.3.1
type TaobaotbkspreadgetAPIResponseModel struct { XMLName xml.Name `xml:"tbk_spread_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 传播形式对象列表 Results []TbkSpread `json:"results,omitempty" xml:"results>tbk_spread,omitempty"` // totalResults TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
TaobaotbkspreadgetAPIResponseModel is 淘宝客-公用-长链转短链 成功返回结果
type TaobaotbktpwdcreateAPIRequest ¶ added in v1.3.1
type TaobaotbktpwdcreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaotbktpwdcreateAPIRequest 淘宝客-公用-淘口令生成 API请求 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
func NewTaobaotbktpwdcreateRequest ¶ added in v1.3.1
func NewTaobaotbktpwdcreateRequest() *TaobaotbktpwdcreateAPIRequest
NewTaobaotbktpwdcreateRequest 初始化TaobaotbktpwdcreateAPIRequest对象
func (TaobaotbktpwdcreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaotbktpwdcreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaotbktpwdcreateAPIRequest) GetExt ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetExt() string
GetExt Ext Getter
func (TaobaotbktpwdcreateAPIRequest) GetLogo ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetLogo() string
GetLogo Logo Getter
func (TaobaotbktpwdcreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaotbktpwdcreateAPIRequest) GetText ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetText() string
GetText Text Getter
func (TaobaotbktpwdcreateAPIRequest) GetUrl ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetUrl() string
GetUrl Url Getter
func (TaobaotbktpwdcreateAPIRequest) GetUserId ¶ added in v1.3.1
func (r TaobaotbktpwdcreateAPIRequest) GetUserId() string
GetUserId UserId Getter
func (*TaobaotbktpwdcreateAPIRequest) SetExt ¶ added in v1.3.1
func (r *TaobaotbktpwdcreateAPIRequest) SetExt(_ext string) error
SetExt is Ext Setter 兼容旧版本api参数,无实际作用
func (*TaobaotbktpwdcreateAPIRequest) SetLogo ¶ added in v1.3.1
func (r *TaobaotbktpwdcreateAPIRequest) SetLogo(_logo string) error
SetLogo is Logo Setter 兼容旧版本api参数,无实际作用
func (*TaobaotbktpwdcreateAPIRequest) SetText ¶ added in v1.3.1
func (r *TaobaotbktpwdcreateAPIRequest) SetText(_text string) error
SetText is Text Setter 兼容旧版本api参数,无实际作用
func (*TaobaotbktpwdcreateAPIRequest) SetUrl ¶ added in v1.3.1
func (r *TaobaotbktpwdcreateAPIRequest) SetUrl(_url string) error
SetUrl is Url Setter 联盟官方渠道获取的淘客推广链接,请注意,不要随意篡改官方生成的链接,否则可能无法生成淘口令
func (*TaobaotbktpwdcreateAPIRequest) SetUserId ¶ added in v1.3.1
func (r *TaobaotbktpwdcreateAPIRequest) SetUserId(_userId string) error
SetUserId is UserId Setter 兼容旧版本api参数,无实际作用
type TaobaotbktpwdcreateAPIResponse ¶ added in v1.3.1
type TaobaotbktpwdcreateAPIResponse struct { model.CommonResponse TaobaotbktpwdcreateAPIResponseModel }
TaobaotbktpwdcreateAPIResponse 淘宝客-公用-淘口令生成 API返回值 taobao.tbk.tpwd.create
提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。
type TaobaotbktpwdcreateAPIResponseModel ¶ added in v1.3.1
type TaobaotbktpwdcreateAPIResponseModel struct { XMLName xml.Name `xml:"tbk_tpwd_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果对象 Data *TaobaotbktpwdcreateMapData `json:"data,omitempty" xml:"data,omitempty"` }
TaobaotbktpwdcreateAPIResponseModel is 淘宝客-公用-淘口令生成 成功返回结果
type TaobaotbktpwdcreateMapData ¶ added in v1.3.1
type TaobaotbktpwdcreateMapData struct { // 非苹果ios14以上版本的设备(即其他ios版本、Android系统等),可以用此淘口令正常在复制到手淘打开 PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"` // 针对苹果ios14及以上版本的苹果设备,手淘将按照示例值信息格式读取淘口令(需包含:数字+羊角符+url,识别规则可能根据ios情况变更)。如需更改淘口令内文案、url等内容,请务必先验证更改后的淘口令在手淘可被识别打开! Model string `json:"model,omitempty" xml:"model,omitempty"` }
TaobaotbktpwdcreateMapData 结构体
type TbkSpread ¶
type TbkSpread struct { // 传播形式, 目前只支持短链接 Content string `json:"content,omitempty" xml:"content,omitempty"` // 调用错误信息;由于是批量接口,请重点关注每条请求返回的结果,如果非OK,则说明该结果对应的content不正常,请酌情处理; ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"` }
TbkSpread 结构体
type TbkSpreadRequest ¶
type TbkSpreadRequest struct { // 原始url, 只支持uland.taobao.com,s.click.taobao.com, ai.taobao.com,temai.taobao.com的域名转换,否则判错 Url string `json:"url,omitempty" xml:"url,omitempty"` }
TbkSpreadRequest 结构体
type TopApiAfOrderOption ¶
type TopApiAfOrderOption struct { // 查询开始时间,以taoke订单创建时间开始 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 渠道关系id RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 子订单号 TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"` // 此参数不再使用,请勿入参 TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"` // pagesize PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // pageNo PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 查询时间跨度,不超过30天,单位是天 Span int64 `json:"span,omitempty" xml:"span,omitempty"` // 此参数不再使用,请勿入参 SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"` // pid中的第三段,adzoneId AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"` // pid中的第二段,siteId SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"` // 此参数不再使用,请勿入参 ViolationType int64 `json:"violation_type,omitempty" xml:"violation_type,omitempty"` // 此参数不再使用,请勿入参 PunishStatus int64 `json:"punish_status,omitempty" xml:"punish_status,omitempty"` }
TopApiAfOrderOption 结构体
type TopApiRefundRptOption ¶ added in v1.2.5
type TopApiRefundRptOption struct { // 开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // pagesize PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 1-维权发起时间,2-订单结算时间(正向订单),3-维权完成时间,4-订单创建时间,5-订单更新时间 SearchType int64 `json:"search_type,omitempty" xml:"search_type,omitempty"` // 1 表示2方,2表示3方,0表示不限 RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"` // pagenumber PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"` // 1代表渠道关系id,2代表会员关系id BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` }
TopApiRefundRptOption 结构体
type TopNinfoDto ¶ added in v1.3.1
type TopNinfoDto struct { // 前N件佣金结束时间 TopnEndTime string `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"` // 前N件佣金开始时间 TopnStartTime string `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"` // 前N件佣金率 TopnRate string `json:"topn_rate,omitempty" xml:"topn_rate,omitempty"` // 前N件剩余库存 TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"` // 前N件初始总库存 TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"` }
TopNinfoDto 结构体
type Ucrowdrankitems ¶
type Ucrowdrankitems struct { // 物料评估-商品ID,material_id=41377时必填 ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 物料评估-商品佣金率,如:1234表示12.34%,material_id=41377时选填 Commirate int64 `json:"commirate,omitempty" xml:"commirate,omitempty"` // 物料评估-商品价格,单位:元,material_id=41377时选填 Price float64 `json:"price,omitempty" xml:"price,omitempty"` }
Ucrowdrankitems 结构体
type UpdateStatusResult ¶ added in v1.2.5
type UpdateStatusResult struct { // 暂停成功 UpdateSuccess bool `json:"update_success,omitempty" xml:"update_success,omitempty"` }
UpdateStatusResult 结构体
type UserRuleInfo ¶
type UserRuleInfo struct { // 用户对应的商品详细信息 ItemList []TaobaotbkcartcouponexpireuserqueryMapData `json:"item_list,omitempty" xml:"item_list>taobaotbkcartcouponexpireuserquery_map_data,omitempty"` // 用户在TOP上的openId OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"` // 每条记录离线任务生成,代表当时离线任务的时间戳 Version int64 `json:"version,omitempty" xml:"version,omitempty"` }
UserRuleInfo 结构体
type VegasCpaReportDto ¶ added in v1.2.5
type VegasCpaReportDto struct { // 奖励金额;按入参是预估/结算,区分获得金额为预估or可结算结果; RewardAmount string `json:"reward_amount,omitempty" xml:"reward_amount,omitempty"` // 统计日期(统计活动期内,截止 统计日期 的数据) BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"` // 媒体三段式id,当查询数据为pid维度时返回该字段 Pid string `json:"pid,omitempty" xml:"pid,omitempty"` // 活动相关数据信息 ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"` // 符合奖励要求的累计用户数;按入参是预估/结算,区分用户数为预估or可结算结果; Union30dLxUv int64 `json:"union_30d_lx_uv,omitempty" xml:"union_30d_lx_uv,omitempty"` // rid,当查询数据为rid维度时返回该字段 RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"` // 数据类型:1预估 2结算 QueryType int64 `json:"query_type,omitempty" xml:"query_type,omitempty"` }
VegasCpaReportDto 结构体
type WordMapData ¶
type WordMapData struct { // 链接-商品相关关联词落地页地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 商品相关的关联词 Word string `json:"word,omitempty" xml:"word,omitempty"` }
WordMapData 结构体
type Youjiacouponinfo ¶
type Youjiacouponinfo struct { // 有价券商品id ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品链接 Url string `json:"url,omitempty" xml:"url,omitempty"` }
Youjiacouponinfo 结构体
Source Files
¶
- AlimmShareInfoDto.go
- BybtInfoDto.go
- CrowdDto.go
- DataMap.go
- DwsUnionAppDto.go
- Extra.go
- FavoritesDetail.go
- FavoritesInfo.go
- InstanceDto.go
- MaifanPromotionDto.go
- MaterialDto.go
- MiniProgramDto.go
- NTbkItem.go
- NTbkShop.go
- OfferList.go
- OrderData.go
- OrderPage.go
- PageResult.go
- PlatformSpecialShareInfoDto.go
- PromotionExtend.go
- PromotionList.go
- PublisherOrderDto.go
- PublisherRefundOrderDto.go
- PublisherRefundOrderQueryOption.go
- RecommendItemList.go
- RegisterInfoDto.go
- Resultlist.go
- RightsInstanceCreateResult.go
- RightsSendRelationRptDto.go
- RightsSendRptDto.go
- ServiceFeeDto.go
- SpCampaign.go
- StepRateDto.go
- StrategyResultList.go
- SubsidyDetailDto.go
- TaobaoTbkActivityInfoGetAPIRequest.go
- TaobaoTbkActivityInfoGetAPIResponse.go
- TaobaoTbkActivityInfoGetData.go
- TaobaoTbkCartCouponExpireUserQueryAPIRequest.go
- TaobaoTbkCartCouponExpireUserQueryAPIResponse.go
- TaobaoTbkCartCouponExpireUserQueryMapData.go
- TaobaoTbkCouponConvertAPIRequest.go
- TaobaoTbkCouponConvertAPIResponse.go
- TaobaoTbkCouponConvertRpcResult.go
- TaobaoTbkCouponGetAPIRequest.go
- TaobaoTbkCouponGetAPIResponse.go
- TaobaoTbkCouponGetMapData.go
- TaobaoTbkDgCpaActivityDetailAPIRequest.go
- TaobaoTbkDgCpaActivityDetailAPIResponse.go
- TaobaoTbkDgCpaActivityDetailResult.go
- TaobaoTbkDgCpaActivityDetailResults.go
- TaobaoTbkDgCpaActivityReportAPIRequest.go
- TaobaoTbkDgCpaActivityReportAPIResponse.go
- TaobaoTbkDgCpaActivityReportRpcResult.go
- TaobaoTbkDgMaterialOptionalAPIRequest.go
- TaobaoTbkDgMaterialOptionalAPIResponse.go
- TaobaoTbkDgMaterialOptionalMapData.go
- TaobaoTbkDgNewuserOrderGetAPIRequest.go
- TaobaoTbkDgNewuserOrderGetAPIResponse.go
- TaobaoTbkDgNewuserOrderGetData.go
- TaobaoTbkDgNewuserOrderGetMapData.go
- TaobaoTbkDgNewuserOrderGetResults.go
- TaobaoTbkDgNewuserOrderSumAPIRequest.go
- TaobaoTbkDgNewuserOrderSumAPIResponse.go
- TaobaoTbkDgNewuserOrderSumData.go
- TaobaoTbkDgOptimusMaterialAPIRequest.go
- TaobaoTbkDgOptimusMaterialAPIResponse.go
- TaobaoTbkDgOptimusMaterialMapData.go
- TaobaoTbkDgOptimusPromotionAPIRequest.go
- TaobaoTbkDgOptimusPromotionAPIResponse.go
- TaobaoTbkDgOptimusPromotionMapData.go
- TaobaoTbkDgPunishOrderGetAPIRequest.go
- TaobaoTbkDgPunishOrderGetAPIResponse.go
- TaobaoTbkDgPunishOrderGetResult.go
- TaobaoTbkDgPunishOrderGetRpcResult.go
- TaobaoTbkDgTpwdReportGetAPIRequest.go
- TaobaoTbkDgTpwdReportGetAPIResponse.go
- TaobaoTbkDgTpwdReportGetMapData.go
- TaobaoTbkDgTpwdRiskReportAPIRequest.go
- TaobaoTbkDgTpwdRiskReportAPIResponse.go
- TaobaoTbkDgTpwdRiskReportResult.go
- TaobaoTbkDgVegasSendReportAPIRequest.go
- TaobaoTbkDgVegasSendReportAPIResponse.go
- TaobaoTbkDgVegasSendReportResult.go
- TaobaoTbkDgVegasSendStatusAPIRequest.go
- TaobaoTbkDgVegasSendStatusAPIResponse.go
- TaobaoTbkDgVegasSendStatusData.go
- TaobaoTbkDgVegasSendStatusMapData.go
- TaobaoTbkDgVegasTljCreateAPIRequest.go
- TaobaoTbkDgVegasTljCreateAPIResponse.go
- TaobaoTbkDgVegasTljCreateResult.go
- TaobaoTbkDgVegasTljReportAPIRequest.go
- TaobaoTbkDgVegasTljReportAPIResponse.go
- TaobaoTbkDgVegasTljStopAPIRequest.go
- TaobaoTbkDgVegasTljStopAPIResponse.go
- TaobaoTbkItemInfoGetAPIRequest.go
- TaobaoTbkItemInfoGetAPIResponse.go
- TaobaoTbkOrderDetailsGetAPIRequest.go
- TaobaoTbkOrderDetailsGetAPIResponse.go
- TaobaoTbkOrderRefundGetAPIRequest.go
- TaobaoTbkOrderRefundGetAPIResponse.go
- TaobaoTbkPrivilegeGetAPIRequest.go
- TaobaoTbkPrivilegeGetAPIResponse.go
- TaobaoTbkPrivilegeGetRpcResult.go
- TaobaoTbkRelationRefundAPIRequest.go
- TaobaoTbkRelationRefundAPIResponse.go
- TaobaoTbkRelationRefundResult.go
- TaobaoTbkRelationRefundRpcResult.go
- TaobaoTbkRtaConsumerMatchAPIRequest.go
- TaobaoTbkRtaConsumerMatchAPIResponse.go
- TaobaoTbkRtaConsumerMatchData.go
- TaobaoTbkScActivityInfoGetAPIRequest.go
- TaobaoTbkScActivityInfoGetAPIResponse.go
- TaobaoTbkScActivityInfoGetData.go
- TaobaoTbkScAdzoneCreateAPIRequest.go
- TaobaoTbkScAdzoneCreateAPIResponse.go
- TaobaoTbkScAdzoneCreateMapData.go
- TaobaoTbkScInvitecodeGetAPIRequest.go
- TaobaoTbkScInvitecodeGetAPIResponse.go
- TaobaoTbkScInvitecodeGetData.go
- TaobaoTbkScMaterialOptionalAPIRequest.go
- TaobaoTbkScMaterialOptionalAPIResponse.go
- TaobaoTbkScMaterialOptionalMapData.go
- TaobaoTbkScMembergroupOptionalAPIRequest.go
- TaobaoTbkScMembergroupOptionalAPIResponse.go
- TaobaoTbkScMembergroupOptionalMapData.go
- TaobaoTbkScOptimusMaterialAPIRequest.go
- TaobaoTbkScOptimusMaterialAPIResponse.go
- TaobaoTbkScOptimusMaterialMapData.go
- TaobaoTbkScOptimusPromotionAPIRequest.go
- TaobaoTbkScOptimusPromotionAPIResponse.go
- TaobaoTbkScOptimusPromotionMapData.go
- TaobaoTbkScOrderDetailsGetAPIRequest.go
- TaobaoTbkScOrderDetailsGetAPIResponse.go
- TaobaoTbkScPublisherInfoGetAPIRequest.go
- TaobaoTbkScPublisherInfoGetAPIResponse.go
- TaobaoTbkScPublisherInfoGetData.go
- TaobaoTbkScPublisherInfoGetMapData.go
- TaobaoTbkScPublisherInfoSaveAPIRequest.go
- TaobaoTbkScPublisherInfoSaveAPIResponse.go
- TaobaoTbkScPublisherInfoSaveData.go
- TaobaoTbkScPunishOrderGetAPIRequest.go
- TaobaoTbkScPunishOrderGetAPIResponse.go
- TaobaoTbkScPunishOrderGetResult.go
- TaobaoTbkScPunishOrderGetRpcResult.go
- TaobaoTbkScRelationRecordAPIRequest.go
- TaobaoTbkScRelationRecordAPIResponse.go
- TaobaoTbkScRelationRecordMapData.go
- TaobaoTbkScRelationRefundAPIRequest.go
- TaobaoTbkScRelationRefundAPIResponse.go
- TaobaoTbkScRelationRefundResult.go
- TaobaoTbkScRelationRefundRpcResult.go
- TaobaoTbkScShopConvertAPIRequest.go
- TaobaoTbkScShopConvertAPIResponse.go
- TaobaoTbkScTpwdConvertAPIRequest.go
- TaobaoTbkScTpwdConvertAPIResponse.go
- TaobaoTbkScTpwdConvertMapData.go
- TaobaoTbkScUcrowdCreateAPIRequest.go
- TaobaoTbkScUcrowdCreateAPIResponse.go
- TaobaoTbkScUcrowdCreateRpcResult.go
- TaobaoTbkScUcrowdDeleteAPIRequest.go
- TaobaoTbkScUcrowdDeleteAPIResponse.go
- TaobaoTbkScUcrowdDeleteRpcResult.go
- TaobaoTbkScUcrowdGetAPIRequest.go
- TaobaoTbkScUcrowdGetAPIResponse.go
- TaobaoTbkScUcrowdGetRpcResult.go
- TaobaoTbkScUcrowdMemberAddAPIRequest.go
- TaobaoTbkScUcrowdMemberAddAPIResponse.go
- TaobaoTbkScUcrowdMemberAddRpcResult.go
- TaobaoTbkScUcrowdReportGetAPIRequest.go
- TaobaoTbkScUcrowdReportGetAPIResponse.go
- TaobaoTbkScUcrowdReportGetRpcResult.go
- TaobaoTbkScVegasSendReportAPIRequest.go
- TaobaoTbkScVegasSendReportAPIResponse.go
- TaobaoTbkScVegasSendReportResult.go
- TaobaoTbkScVegasSendStatusAPIRequest.go
- TaobaoTbkScVegasSendStatusAPIResponse.go
- TaobaoTbkScVegasSendStatusData.go
- TaobaoTbkScVegasSendStatusMapData.go
- TaobaoTbkShopGetAPIRequest.go
- TaobaoTbkShopGetAPIResponse.go
- TaobaoTbkShopRecommendGetAPIRequest.go
- TaobaoTbkShopRecommendGetAPIResponse.go
- TaobaoTbkSkuBestCouponAPIRequest.go
- TaobaoTbkSkuBestCouponAPIResponse.go
- TaobaoTbkSkuBestCouponMapData.go
- TaobaoTbkSpreadGetAPIRequest.go
- TaobaoTbkSpreadGetAPIResponse.go
- TaobaoTbkTpwdCreateAPIRequest.go
- TaobaoTbkTpwdCreateAPIResponse.go
- TaobaoTbkTpwdCreateMapData.go
- TbkSpread.go
- TbkSpreadRequest.go
- TopApiAfOrderOption.go
- TopApiRefundRptOption.go
- TopNInfoDto.go
- Ucrowdrankitems.go
- UpdateStatusResult.go
- UserRuleInfo.go
- VegasCpaReportDto.go
- WordMapData.go
- Youjiacouponinfo.go
- doc.go