Documentation ¶
Overview ¶
Package oauth 多多客工具A P I
Index ¶
- func AllOrderListIncrementGet(ctx context.Context, clt *core.SDKClient, req *AllOrderListIncrementGetRequest, ...) (int, []ddk.Order, error)
- func CashgiftCreate(ctx context.Context, clt *core.SDKClient, req *CashgiftCreateRequest, ...) (*ddk.CashgiftCreateResult, error)
- func CashgiftStatusUpdate(ctx context.Context, clt *core.SDKClient, req *CashgiftStatusUpdateRequest, ...) (uint64, error)
- func CmsPromUrlGenerate(ctx context.Context, clt *core.SDKClient, req *CmsPromUrlGenerateRequest, ...) (int, []ddk.PromURL, error)
- func GoodsDetail(ctx context.Context, clt *core.SDKClient, req *GoodsDetailRequest, ...) ([]ddk.Goods, error)
- func GoodsPidGenerate(ctx context.Context, clt *core.SDKClient, req *GoodsPidGenerateRequest, ...) ([]ddk.Pid, error)
- func GoodsPidQuery(ctx context.Context, clt *core.SDKClient, req *GoodsPidQueryRequest, ...) (int, []ddk.Pid, error)
- func GoodsPromotionUrlGenerate(ctx context.Context, clt *core.SDKClient, ...) ([]ddk.PromURL, error)
- func GoodsRecommendGet(ctx context.Context, clt *core.SDKClient, req *GoodsRecommendGetRequest, ...) (*ddk.GoodsRecommendGetResult, error)
- func GoodsSearch(ctx context.Context, clt *core.SDKClient, req *GoodsSearchRequest, ...) (*ddk.GoodsSearchResult, error)
- func GoodsZsUnitUrlGen(ctx context.Context, clt *core.SDKClient, req *GoodsZsUnitUrlGenRequest, ...) (*ddk.PromURL, error)
- func MemberAuthorityQuery(ctx context.Context, clt *core.SDKClient, req *MemberAuthorityQueryRequest, ...) (bool, error)
- func OrderDetailGet(ctx context.Context, clt *core.SDKClient, req *OrderDetailGetRequest, ...) (*ddk.Order, error)
- func PidMediaIDBind(ctx context.Context, clt *core.SDKClient, mediaID uint64, pidList []string, ...) (*ddk.PidMediaIDBindResult, error)
- func ResourceUrlGen(ctx context.Context, clt *core.SDKClient, req *ResourceUrlGenRequest, ...) (*ddk.PromURL, error)
- func RpPromUrlGenerate(ctx context.Context, clt *core.SDKClient, req *RpPromUrlGenerateRequest, ...) (*ddk.RpPromUrlGenerateResult, error)
- func WeappQrcodeUrlGen(ctx context.Context, clt *core.SDKClient, req *WeappQrcodeUrlGenRequest, ...) (string, error)
- type AllOrderListIncrementGetRequest
- type CashgiftCreateRequest
- type CashgiftStatusUpdateRequest
- type CmsPromUrlGenerateRequest
- type GoodsDetailRequest
- type GoodsPidGenerateRequest
- type GoodsPidQueryRequest
- type GoodsPromotionUrlGenerateRequest
- type GoodsRecommendGetRequest
- type GoodsSearchRequest
- type GoodsZsUnitUrlGenRequest
- type MemberAuthorityQueryRequest
- type OrderDetailGetRequest
- type PidMediaIDBindRequest
- type ResourceUrlGenRequest
- type RpPromUrlGenerateRequest
- type WeappQrcodeUrlGenRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllOrderListIncrementGet ¶
func AllOrderListIncrementGet(ctx context.Context, clt *core.SDKClient, req *AllOrderListIncrementGetRequest, accessToken string) (int, []ddk.Order, error)
AllOrderListIncrementGet 查询所有授权的多多客订单
func CashgiftCreate ¶
func CashgiftCreate(ctx context.Context, clt *core.SDKClient, req *CashgiftCreateRequest, accessToken string) (*ddk.CashgiftCreateResult, error)
CashgiftCreate 创建多多礼金
func CashgiftStatusUpdate ¶
func CashgiftStatusUpdate(ctx context.Context, clt *core.SDKClient, req *CashgiftStatusUpdateRequest, accessToken string) (uint64, error)
CashgiftStatusUpdate 多多礼金状态更新
func CmsPromUrlGenerate ¶
func CmsPromUrlGenerate(ctx context.Context, clt *core.SDKClient, req *CmsPromUrlGenerateRequest, accessToken string) (int, []ddk.PromURL, error)
CmsPromUrlGenerate 生成商城-频道推广链接
func GoodsDetail ¶
func GoodsDetail(ctx context.Context, clt *core.SDKClient, req *GoodsDetailRequest, accessToken string) ([]ddk.Goods, error)
GoodsDetail 多多进宝商品详情查询
func GoodsPidGenerate ¶
func GoodsPidGenerate(ctx context.Context, clt *core.SDKClient, req *GoodsPidGenerateRequest, accessToken string) ([]ddk.Pid, error)
GoodsPidGenerate 创建多多进宝推广位
func GoodsPidQuery ¶
func GoodsPidQuery(ctx context.Context, clt *core.SDKClient, req *GoodsPidQueryRequest, accessToken string) (int, []ddk.Pid, error)
GoodsPidQuery 查询已经生成的推广位信息
func GoodsPromotionUrlGenerate ¶
func GoodsPromotionUrlGenerate(ctx context.Context, clt *core.SDKClient, req *GoodsPromotionUrlGenerateRequest, accessToken string) ([]ddk.PromURL, error)
GoodsPromotionUrlGenerate 多多进宝推广链接生成
func GoodsRecommendGet ¶
func GoodsRecommendGet(ctx context.Context, clt *core.SDKClient, req *GoodsRecommendGetRequest, accessToken string) (*ddk.GoodsRecommendGetResult, error)
GoodsRecommendGet 多多进宝商品推荐API
func GoodsSearch ¶
func GoodsSearch(ctx context.Context, clt *core.SDKClient, req *GoodsSearchRequest, accessToken string) (*ddk.GoodsSearchResult, error)
GoodsSearch 多多进宝商品查询
func GoodsZsUnitUrlGen ¶
func GoodsZsUnitUrlGen(ctx context.Context, clt *core.SDKClient, req *GoodsZsUnitUrlGenRequest, accessToken string) (*ddk.PromURL, error)
GoodsZsUnitUrlGen 多多进宝转链接口
func MemberAuthorityQuery ¶
func MemberAuthorityQuery(ctx context.Context, clt *core.SDKClient, req *MemberAuthorityQueryRequest, accessToken string) (bool, error)
MemberAuthorityQuery 查询是否绑定备案
func OrderDetailGet ¶
func OrderDetailGet(ctx context.Context, clt *core.SDKClient, req *OrderDetailGetRequest, accessToken string) (*ddk.Order, error)
OrderDetailGet 查询订单详情
func PidMediaIDBind ¶
func PidMediaIDBind(ctx context.Context, clt *core.SDKClient, mediaID uint64, pidList []string, accessToken string) (*ddk.PidMediaIDBindResult, error)
PidMediaIDBind 批量绑定推广位的媒体id
func ResourceUrlGen ¶
func ResourceUrlGen(ctx context.Context, clt *core.SDKClient, req *ResourceUrlGenRequest, accessToken string) (*ddk.PromURL, error)
ResourceUrlGen 生成多多进宝频道推广
func RpPromUrlGenerate ¶
func RpPromUrlGenerate(ctx context.Context, clt *core.SDKClient, req *RpPromUrlGenerateRequest, accessToken string) (*ddk.RpPromUrlGenerateResult, error)
RpPromUrlGenerate 生成营销工具推广链接
func WeappQrcodeUrlGen ¶ added in v1.1.2
func WeappQrcodeUrlGen(ctx context.Context, clt *core.SDKClient, req *WeappQrcodeUrlGenRequest, accessToken string) (string, error)
WeappQrcodeUrlGen 多多客生成单品推广小程序二维码url
Types ¶
type AllOrderListIncrementGetRequest ¶
type AllOrderListIncrementGetRequest struct {
ddk.OrderListIncrementGetRequest
}
AllOrderListIncrementGetRequest 查询所有授权的多多客订单API Request
func (AllOrderListIncrementGetRequest) GetType ¶
func (r AllOrderListIncrementGetRequest) GetType() string
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 ¶
func (r GoodsPromotionUrlGenerateRequest) GetType() string
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
type WeappQrcodeUrlGenRequest ¶ added in v1.1.2
type WeappQrcodeUrlGenRequest struct {
ddk.WeappQrcodeUrlGenRequest
}
WeappQrcodeUrlGenRequest 多多客生成单品推广小程序二维码url API Request
func (WeappQrcodeUrlGenRequest) GetType ¶ added in v1.1.2
func (r WeappQrcodeUrlGenRequest) GetType() string
GetType implement Request interface
Source Files ¶
- all_order_list_increment_get.go
- cashgift_create.go
- cashgift_status_update.go
- cms_prom_url_generate.go
- doc.go
- goods_detail.go
- goods_pid_generate.go
- goods_pid_query.go
- goods_promotion_url_generate.go
- goods_recommend_get.go
- goods_search.go
- goods_zs_unit_url_gen.go
- member_authority_query.go
- order_detail_get.go
- pid_mediaid_bind.go
- resource_url_gen.go
- rp_prom_url_generate.go
- weapp_qrcode_url_gen.go