Versions in this module Expand all Collapse all v1 v1.0.13 Nov 14, 2023 Changes in this version + func CashgiftStatusUpdate(clt *core.SDKClient, req *CashgiftStatusUpdateRequest) (uint64, error) + func MemberAuthorityQuery(clt *core.SDKClient, req *MemberAuthorityQueryRequest) (bool, error) + func ReportImgUpload(clt *core.SDKClient, req *ReportImgUploadRequest) (string, error) + func ReportVideoUpload(clt *core.SDKClient, req *ReportVideoUploadRequest) (string, error) + func ReportVideoUploadFearless(clt *core.SDKClient, req *ReportVideoUploadRequest, size int64, parallel int) (string, error) + func ReportVideoUploadPart(clt *core.SDKClient, req *ReportVideoUploadPartRequest) (int, error) + func ReportVideoUploadPartComplete(clt *core.SDKClient, uploadSign string) (string, error) + func ReportVideoUploadPartInit(clt *core.SDKClient, contentType string) (string, error) + func WeappQrcodeUrlGen(clt *core.SDKClient, req *WeappQrcodeUrlGenRequest) (string, error) + type CashgiftCreateRequest struct + AcquireEndTime int64 + AcquireStartTime int64 + AutoTake bool + CouponAmount int64 + CouponThresholdAmount int64 + Duration int + ExpectAmount int64 + FetchRiskCheck *bool + FreezeCondition int + FreezeWatchType int + GenerateFlexibleCoupon bool + GenerateGlobal bool + GoodsSignList []string + LinkAcquireLimit int + Name string + PidList []string + Quantity int64 + RateDecreaseMonitor bool + RelativeTimeType int + TotalAmount int64 + UserLimit int + ValidityEndTime int64 + ValidityStartTime int64 + ValidityTimeType int + func (r CashgiftCreateRequest) GetType() string + type CashgiftCreateResponse struct + Response *CashgiftCreateResult + type CashgiftCreateResult struct + CashgiftID uint64 + Success bool + func CashgiftCreate(clt *core.SDKClient, req *CashgiftCreateRequest) (*CashgiftCreateResult, error) + type CashgiftStatusUpdateRequest struct + ID uint64 + UpdateType int + func (r CashgiftStatusUpdateRequest) GetType() string + type CashgiftStatusUpdateResponse struct + Response struct{ ... } + type CmsPromUrlGenerateRequest struct + ChannelType *int + CustomParameters interface{} + GenerateMobile bool + GenerateSchemaURL bool + GenerateShortURL bool + GenerateWeApp bool + Keyword string + MultiGroup bool + PidList string + func (r CmsPromUrlGenerateRequest) GetType() string + type CmsPromUrlGenerateResponse struct + Response struct{ ... } + type DiyRedPacketParam struct + AmountProbability []int64 + DisText *bool + NotShowBackground *bool + OptID uint64 + RangeItems []RangeItem + type DiyYuanParam struct + GoodsSign string + type Goods struct + ActivityPromotionRate int + ActivityTags []int + BrandName string + CashGiftAmount int64 + CatID model.Uint64 + CatIDs []uint64 + CategoryName string + CouponDiscount int64 + CouponEnd int64 + CouponMinOrderAmount int64 + CouponPrice int64 + CouponRemainQuantity int + CouponStartTime int64 + CouponTotalQuantity int + CreateAt int64 + DescTxt string + ExtraCouponAmount int64 + GoodsDesc string + GoodsGalleryURLs []string + GoodsID uint64 + GoodsImageURL string + GoodsLabels []int + GoodsName string + GoodsRate int + GoodsSign string + GoodsThumbnailURL string + GoodsType int + HasCoupon bool + HasMaterial bool + LgstTxt string + MallID uint64 + MallName string + MarketFee int64 + MerchatType model.Int + MinGroupPrice int64 + MinNormalPrice int64 + OptID model.Uint64 + OptIDs []uint64 + OptName string + PredictPromotionRate int + PromotionRate int + QrcodeImageURL string + RealtimeSalesTip string + SalesTip string + SearchID string + ServTxt string + ShareDesc string + ShareRate int + SubsidyAmount int64 + SubsidyDuoAmountTenMillion int64 + UnifiedTags []string + VideoURLs []string + func GoodsDetail(clt *core.SDKClient, req *GoodsDetailRequest) ([]Goods, error) + type GoodsDetailRequest struct + CustomParameters interface{} + GoodsImageType int + GoodsSign string + NeedSkuInfo bool + Pid string + SearchID string + ZsDuoID uint64 + func (r GoodsDetailRequest) GetType() string + type GoodsDetailResponse struct + Response struct{ ... } + type GoodsPidGenerateRequest struct + MediaID uint64 + Number int + PidNameList []string + func (r GoodsPidGenerateRequest) GetType() string + type GoodsPidGenerateResponse struct + Response struct{ ... } + type GoodsPidQueryRequest struct + Page int + PageSize int + PidList []string + Status *int + func (r GoodsPidQueryRequest) GetType() string + type GoodsPidQueryResponse struct + Response struct{ ... } + type GoodsPromotionRightAuthRequest struct + DemoURL string + DuoID uint64 + GoodsID uint64 + MallCertificationURL []string + PromotionCodeURL string + PromotionEndTime int64 + PromotionStartTime int64 + ThumbPicURL []string + func (r GoodsPromotionRightAuthRequest) GetType() string + type GoodsPromotionRightAuthResponse struct + Response struct{ ... } + func GoodsPromotionRightAuth(clt *core.SDKClient, req *GoodsPromotionRightAuthRequest) (*GoodsPromotionRightAuthResponse, error) + type GoodsPromotionUrlGenerateRequest struct + CashGiftID uint64 + CashGiftName string + CustomParameters interface{} + GenerateAuthorityURL bool + GenerateMallCollectCoupon bool + GenerateQQApp bool + GenerateSchemaURL bool + GenerateShortLink bool + GenerateShortURL bool + GenerateWeApp bool + GoodsSignList []string + MaterialID string + MultiGroup bool + Pid string + SearchID string + ZsDouID uint64 + func (r GoodsPromotionUrlGenerateRequest) GetType() string + type GoodsPromotionUrlGenerateResponse struct + Response struct{ ... } + type GoodsRecommendGetRequest struct + ActivityTags []int + CatID uint64 + ChannelType int + CustomParameters interface{} + GoodsImageType int + GoodsSignList []string + Limit int + ListID string + Offest int + Pid string + func (r GoodsRecommendGetRequest) GetType() string + type GoodsRecommendGetResponse struct + Response *GoodsRecommendGetResult + type GoodsRecommendGetResult struct + List []Goods + ListID string + SearchID string + Total int + func GoodsRecommendGet(clt *core.SDKClient, req *GoodsRecommendGetRequest) (*GoodsRecommendGetResult, error) + type GoodsSearchRequest struct + ActivityTags []int + BlockCatPackages []uint64 + BlockCats []uint64 + CatID uint64 + CustomParameters interface{} + GoodsImageType int + GoodsSignList []string + IsBrandGoods bool + Keyword string + ListID string + MerchantType int + MerchantTypeList []int + OptID uint64 + Page int + PageSize int + Pid string + RangeList []RangeItem + SortType int + UseCustomized *bool + WithCoupon bool + func (r GoodsSearchRequest) GetType() string + type GoodsSearchResponse struct + Response *GoodsSearchResult + type GoodsSearchResult struct + List []Goods + ListID string + SearchID string + TotalCount int + func GoodsSearch(clt *core.SDKClient, req *GoodsSearchRequest) (*GoodsSearchResult, error) + type GoodsZsUnitUrlGenRequest struct + CustomParameters interface{} + Pid string + SourceURL string + func (r GoodsZsUnitUrlGenRequest) GetType() string + type GoodsZsUnitUrlGenResponse struct + Response *PromURL + type MemberAuthorityQueryRequest struct + CustomParameters interface{} + Pid string + func (r MemberAuthorityQueryRequest) GetType() string + type MemberAuthorityQueryResponse struct + Response struct{ ... } + type Order struct + ActivityTags []int + AuthDuoID uint64 + BathNo string + CatIDs []uint64 + CpaNew int + CpsSign string + CustomParameters string + FailReason string + GoodsCategoryName string + GoodsID uint64 + GoodsName string + GoodsPrice int64 + GoodsQuantity int64 + GoodsSign string + GoodsThumbnailURL string + GroupID uint64 + IsDirect int + MallID uint64 + MallName string + NoSubsidyReason string + OrderAmount int64 + OrderCreateTime int64 + OrderGroupSuccessTime int64 + OrderModifyAt int64 + OrderPayTime int64 + OrderReceiveTime int64 + OrderSN string + OrderSettleTime int64 + OrderStatus int + OrderStatusDesc string + OrderVerifyTime int64 + Pid string + PlatformDiscount int64 + PointTime int64 + PriceCompareStatus int + PromotionAmount int64 + PromotionRate int + RedPacketType int + ReturnStatus int + SepDuoID uint64 + SepMarketFee int64 + SepParams string + SepPid string + SepRate int + ShareAmount int64 + ShareRate int + SubSidyAmount int64 + SubsidyDuoAmountLevel int64 + SubsidyDuoAmountTenMillion int64 + SubsidyType int + Type int + URLLastGenerateTime int64 + ZsDuoID uint64 + func OrderDetailGet(clt *core.SDKClient, req *OrderDetailGetRequest) (*Order, error) + func OrderListIncrementGet(clt *core.SDKClient, req *OrderListIncrementGetRequest) (int, []Order, error) + func OrderListRangeGet(clt *core.SDKClient, req *OrderListRangeGetRequest) (string, []Order, error) + type OrderDetailGetRequest struct + OrderSN string + QueryOrderType int + func (r OrderDetailGetRequest) GetType() string + type OrderDetailGetResponse struct + Response *Order + type OrderListIncrementGetRequest struct + CashGiftOrder bool + EndUpdateTime int64 + Page int + PageSize int + QueryOrderType int + ReturnCount *bool + StartUpdateTime int64 + func (r OrderListIncrementGetRequest) GetType() string + type OrderListIncrementGetResponse struct + Response struct{ ... } + type OrderListRangeGetRequest struct + CashGiftOrder bool + EndTime string + LastOrderID string + PageSize int + QueryOrderType int + StartTime string + func (r OrderListRangeGetRequest) GetType() string + type OrderListRangeGetResponse struct + Response struct{ ... } + type PeroidType int + const PeroidType_7DAY + const PeroidType_MONTH + type Pid struct + CreateTime int64 + ID string + MediaID uint64 + Name string + Status int + func GoodsPidGenerate(clt *core.SDKClient, req *GoodsPidGenerateRequest) ([]Pid, error) + func GoodsPidQuery(clt *core.SDKClient, req *GoodsPidQueryRequest) (int, []Pid, error) + type PidMediaIDBindRequest struct + MediaID uint64 + PidList []string + func (r PidMediaIDBindRequest) GetType() string + type PidMediaIDBindResponse struct + Response struct{ ... } + type PidMediaIDBindResult struct + Msg string + Result bool + func PidMediaIDBind(clt *core.SDKClient, mediaID uint64, pidList []string) (*PidMediaIDBindResult, error) + type PromResource struct + Desc string + URL string + type PromURL struct + MobileShortURL string + MobileURL string + MultiGroupMobileShortURL string + MultiGroupMobileURL string + MultiGroupShortURL string + MultiGroupURL string + MultiURLList *PromURL + QQAppInfo *WeAppInfo + SchemaURL string + ShortURL string + Sign string + SingleURLList *PromURL + TzSchemaURL string + URL string + WeAppInfo *WeAppInfo + WeAppWebViewShortURL string + WeAppWebViewURL string + WeixinCode string + WeixinShortLink string + func CmsPromUrlGenerate(clt *core.SDKClient, req *CmsPromUrlGenerateRequest) (int, []PromURL, error) + func GoodsPromotionUrlGenerate(clt *core.SDKClient, req *GoodsPromotionUrlGenerateRequest) ([]PromURL, error) + func GoodsZsUnitUrlGen(clt *core.SDKClient, req *GoodsZsUnitUrlGenRequest) (*PromURL, error) + func ResourceUrlGen(clt *core.SDKClient, req *ResourceUrlGenRequest) (*PromURL, error) + type PromotionGoodsApplication struct + Comment string + CommitTime int64 + GoodsID uint64 + MallID uint64 + PromotionEndTime int64 + PromotionStartTime int64 + Status int + UpdatedAt int64 + func PromotionGoodsQuery(clt *core.SDKClient, req *PromotionGoodsQueryRequest) (int, []PromotionGoodsApplication, error) + type PromotionGoodsQueryRequest struct + GoodsID uint64 + MallID uint64 + PageNumber int + PageSize int + StatusList []int + UpdateEndTime int64 + UpdateStartTime int64 + func (r PromotionGoodsQueryRequest) GetType() string + type PromotionGoodsQueryResponse struct + Response struct{ ... } + type RangeItem struct + RangeFrom int64 + RangeID int + RangeTo int64 + type ReportImgUploadRequest struct + File io.Reader + Filename string + func (r ReportImgUploadRequest) Encode() []model.UploadField + func (r ReportImgUploadRequest) GetType() string + type ReportImgUploadResponse struct + Response struct{ ... } + type ReportVideoUploadPartCompleteRequest struct + UploadSign string + func (r ReportVideoUploadPartCompleteRequest) Encode() []model.UploadField + func (r ReportVideoUploadPartCompleteRequest) GetType() string + type ReportVideoUploadPartCompleteResponse struct + Response struct{ ... } + type ReportVideoUploadPartInitRequest struct + ContentType string + func (r ReportVideoUploadPartInitRequest) Encode() []model.UploadField + func (r ReportVideoUploadPartInitRequest) GetType() string + type ReportVideoUploadPartInitResponse struct + Response struct{ ... } + type ReportVideoUploadPartRequest struct + PartFile io.Reader + PartNum int + UploadSign string + func (r ReportVideoUploadPartRequest) Encode() []model.UploadField + func (r ReportVideoUploadPartRequest) GetType() string + type ReportVideoUploadPartResponse struct + Response struct{ ... } + type ReportVideoUploadRequest struct + File io.Reader + Filename string + func (r ReportVideoUploadRequest) Encode() []model.UploadField + func (r ReportVideoUploadRequest) GetType() string + type ReportVideoUploadResponse struct + Response struct{ ... } + type ResourceUrlGenRequest struct + CustomParameters interface{} + GenerateSchemaURL bool + GenerateWeApp bool + Pid string + ResourceType int + URL string + func (r ResourceUrlGenRequest) GetType() string + type ResourceUrlGenResponse struct + Response *PromURL + type RpPromUrlGenerateRequest struct + Amount int64 + ChannelType int + CustomParameters interface{} + DiyRedPacketParam *DiyRedPacketParam + DiyYuanParam *DiyYuanParam + GenerateQQApp bool + GenerateSchemaURL bool + GenerateShortURL bool + GenerateWeApp bool + PidList []string + ScratchCardAmount int64 + func (r RpPromUrlGenerateRequest) GetType() string + type RpPromUrlGenerateResponse struct + Response *RpPromUrlGenerateResult + type RpPromUrlGenerateResult struct + ResourceList []PromResource + URLList []PromURL + func RpPromUrlGenerate(clt *core.SDKClient, req *RpPromUrlGenerateRequest) (*RpPromUrlGenerateResult, error) + type StatisticData struct + CustomParameters string + EndTime string + OrderAmount int64 + OrderNum int64 + Pid string + StartTime string + func StatisticDataQuery(clt *core.SDKClient, req *StatisticDataQueryRequest) ([]StatisticData, error) + type StatisticDataQueryRequest struct + Page int + PageSize int + PeroidType PeroidType + StatisticType int + Time string + func (r StatisticDataQueryRequest) GetType() string + type StatisticDataQueryResponse struct + Response struct{ ... } + type WeAppInfo struct + AppID string + BannerURL string + Desc string + PagePath string + SourceDisplayName string + Title string + UserName string + WeAppIconURl string + type WeappQrcodeUrlGenRequest struct + CashGiftID uint64 + CustomParameters interface{} + GenerateMallCollectCoupon bool + GoodsSignList []string + Pid string + ZsDouID uint64 + func (r WeappQrcodeUrlGenRequest) GetType() string + type WeappQrcodeUrlGenResponse struct + Response struct{ ... } v1.0.12-relses Nov 14, 2023