oauth

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package oauth 多多客工具A P I

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllOrderListIncrementGet

func AllOrderListIncrementGet(clt *core.SDKClient, req *AllOrderListIncrementGetRequest, accessToken string) (int, []ddk.Order, error)

AllOrderListIncrementGet 查询所有授权的多多客订单

func CashgiftCreate

func CashgiftCreate(clt *core.SDKClient, req *CashgiftCreateRequest, accessToken string) (*ddk.CashgiftCreateResult, error)

CashgiftCreate 创建多多礼金

func CashgiftStatusUpdate

func CashgiftStatusUpdate(clt *core.SDKClient, req *CashgiftStatusUpdateRequest, accessToken string) (uint64, error)

CashgiftStatusUpdate 多多礼金状态更新

func CmsPromUrlGenerate

func CmsPromUrlGenerate(clt *core.SDKClient, req *CmsPromUrlGenerateRequest, accessToken string) (int, []ddk.PromURL, error)

CmsPromUrlGenerate 生成商城-频道推广链接

func GoodsDetail

func GoodsDetail(clt *core.SDKClient, req *GoodsDetailRequest, accessToken string) ([]ddk.Goods, error)

GoodsDetail 多多进宝商品详情查询

func GoodsPidGenerate

func GoodsPidGenerate(clt *core.SDKClient, req *GoodsPidGenerateRequest, accessToken string) ([]ddk.Pid, error)

GoodsPidGenerate 创建多多进宝推广位

func GoodsPidQuery

func GoodsPidQuery(clt *core.SDKClient, req *GoodsPidQueryRequest, accessToken string) (int, []ddk.Pid, error)

GoodsPidQuery 查询已经生成的推广位信息

func GoodsPromotionUrlGenerate

func GoodsPromotionUrlGenerate(clt *core.SDKClient, req *GoodsPromotionUrlGenerateRequest, accessToken string) ([]ddk.PromURL, error)

GoodsPromotionUrlGenerate 多多进宝推广链接生成

func GoodsRecommendGet

func GoodsRecommendGet(clt *core.SDKClient, req *GoodsRecommendGetRequest, accessToken string) (*ddk.GoodsRecommendGetResult, error)

GoodsRecommendGet 多多进宝商品推荐API

func GoodsSearch

func GoodsSearch(clt *core.SDKClient, req *GoodsSearchRequest, accessToken string) (*ddk.GoodsSearchResult, error)

GoodsSearch 多多进宝商品查询

func GoodsZsUnitUrlGen

func GoodsZsUnitUrlGen(clt *core.SDKClient, req *GoodsZsUnitUrlGenRequest, accessToken string) (*ddk.PromURL, error)

GoodsZsUnitUrlGen 多多进宝转链接口

func MemberAuthorityQuery

func MemberAuthorityQuery(clt *core.SDKClient, req *MemberAuthorityQueryRequest, accessToken string) (bool, error)

MemberAuthorityQuery 查询是否绑定备案

func OrderDetailGet

func OrderDetailGet(clt *core.SDKClient, req *OrderDetailGetRequest, accessToken string) (*ddk.Order, error)

OrderDetailGet 查询订单详情

func PidMediaIDBind

func PidMediaIDBind(clt *core.SDKClient, mediaID uint64, pidList []string, accessToken string) (*ddk.PidMediaIDBindResult, error)

PidMediaIDBind 批量绑定推广位的媒体id

func ResourceUrlGen

func ResourceUrlGen(clt *core.SDKClient, req *ResourceUrlGenRequest, accessToken string) (*ddk.PromURL, error)

ResourceUrlGen 生成多多进宝频道推广

func RpPromUrlGenerate

func RpPromUrlGenerate(clt *core.SDKClient, req *RpPromUrlGenerateRequest, accessToken string) (*ddk.RpPromUrlGenerateResult, error)

RpPromUrlGenerate 生成营销工具推广链接

Types

type AllOrderListIncrementGetRequest

type AllOrderListIncrementGetRequest struct {
	ddk.OrderListIncrementGetRequest
}

AllOrderListIncrementGetRequest 查询所有授权的多多客订单API Request

func (AllOrderListIncrementGetRequest) GetType

GetType implement Request interface

type CashgiftCreateRequest

type CashgiftCreateRequest struct {
	ddk.CashgiftCreateRequest
}

CashgiftCreateRequest 创建多多礼金 API Request

func (CashgiftCreateRequest) GetType

func (r CashgiftCreateRequest) GetType() string

GetType implement Request interface

type CashgiftStatusUpdateRequest

type CashgiftStatusUpdateRequest struct {
	ddk.CashgiftStatusUpdateRequest
}

CashgiftStatusUpdateRequest 多多礼金状态更新 API Request

func (CashgiftStatusUpdateRequest) GetType

func (r CashgiftStatusUpdateRequest) GetType() string

GetType implement Request interface

type CmsPromUrlGenerateRequest

type CmsPromUrlGenerateRequest struct {
	ddk.CmsPromUrlGenerateRequest
}

CmsPromUrlGenerateRequest 生成商城-频道推广链接 API Request

func (CmsPromUrlGenerateRequest) GetType

func (r CmsPromUrlGenerateRequest) GetType() string

GetType implement Request interface

type GoodsDetailRequest

type GoodsDetailRequest struct {
	ddk.GoodsDetailRequest
}

GoodsDetailRequest 多多进宝商品详情查询 API Request

func (GoodsDetailRequest) GetType

func (r GoodsDetailRequest) GetType() string

GetType implement Request interface

type GoodsPidGenerateRequest

type GoodsPidGenerateRequest struct {
	ddk.GoodsPidGenerateRequest
}

GoodsPidGenerateRequest 创建多多进宝推广位 API Request

func (GoodsPidGenerateRequest) GetType

func (r GoodsPidGenerateRequest) GetType() string

GetType implement Request interface

type GoodsPidQueryRequest

type GoodsPidQueryRequest struct {
	ddk.GoodsPidQueryRequest
}

GoodsPidQueryRequest 查询已经生成的推广位信息 API Request

func (GoodsPidQueryRequest) GetType

func (r GoodsPidQueryRequest) GetType() string

GetType implement Request interface

type GoodsPromotionUrlGenerateRequest

type GoodsPromotionUrlGenerateRequest struct {
	ddk.GoodsPromotionUrlGenerateRequest
	// ForceDuoID 是否使用多多客专属推广计划
	ForceDuoID bool `json:"force_duo_id,omitempty"`
}

GoodsPromotionUrlGenerateRequest 多多进宝推广链接生成 API Request

func (GoodsPromotionUrlGenerateRequest) GetType

GetType implement Request interface

type GoodsRecommendGetRequest

type GoodsRecommendGetRequest struct {
	ddk.GoodsRecommendGetRequest
	// ForceAuthDuoID 是否使用工具商专属推广计划,默认为false
	ForceAuthDuoID bool `json:"force_auth_duo_id,omitempty"`
}

GoodsRecommendGetRequest 多多进宝商品推荐API API Request

func (GoodsRecommendGetRequest) GetType

func (r GoodsRecommendGetRequest) GetType() string

GetType implement Request interface

type GoodsSearchRequest

type GoodsSearchRequest struct {
	ddk.GoodsSearchRequest
	// ForceAuthDuoID 是否使用工具商专属推广计划,默认为false
	ForceAuthDuoID bool `json:"force_auth_duo_id,omitempty"`
}

GoodsSearchRequest 多多进宝商品查询 API Request

func (GoodsSearchRequest) GetType

func (r GoodsSearchRequest) GetType() string

GetType implement Request interface

type GoodsZsUnitUrlGenRequest

type GoodsZsUnitUrlGenRequest struct {
	ddk.GoodsZsUnitUrlGenRequest
	// GenerateSchemeURL 是否返回 schema URL
	GenerateSchemeURL bool `json:"generate_scheme_url,omitempty"`
}

GoodsZsUnitUrlGenRequest 多多进宝转链接口 API Request

func (GoodsZsUnitUrlGenRequest) GetType

func (r GoodsZsUnitUrlGenRequest) GetType() string

GetType implement Request interface

type MemberAuthorityQueryRequest

type MemberAuthorityQueryRequest struct {
	ddk.MemberAuthorityQueryRequest
}

MemberAuthorityQueryRequest 查询是否绑定备案 API Request

func (MemberAuthorityQueryRequest) GetType

func (r MemberAuthorityQueryRequest) GetType() string

GetType implement Request interface

type OrderDetailGetRequest

type OrderDetailGetRequest struct {
	ddk.OrderDetailGetRequest
}

OrderDetailGetRequest 查询订单详情 API Request

func (OrderDetailGetRequest) GetType

func (r OrderDetailGetRequest) GetType() string

GetType implement Request interface

type PidMediaIDBindRequest

type PidMediaIDBindRequest struct {
	ddk.PidMediaIDBindRequest
}

PidMediaIDBindRequest 批量绑定推广位的媒体id API Request

func (PidMediaIDBindRequest) GetType

func (r PidMediaIDBindRequest) GetType() string

GetType implement Request interface

type ResourceUrlGenRequest

type ResourceUrlGenRequest struct {
	ddk.ResourceUrlGenRequest
}

ResourceUrlGenRequest 生成多多进宝频道推广 API Request

func (ResourceUrlGenRequest) GetType

func (r ResourceUrlGenRequest) GetType() string

GetType implement Request interface

type RpPromUrlGenerateRequest

type RpPromUrlGenerateRequest struct {
	ddk.RpPromUrlGenerateRequest
}

RpPromUrlGenerateRequest 生成营销工具推广链接 API Request

func (RpPromUrlGenerateRequest) GetType

func (r RpPromUrlGenerateRequest) GetType() string

GetType implement Request interface

Jump to

Keyboard shortcuts

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