pddxpb

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_pdd_ddx_proto protoreflect.FileDescriptor
View Source
var PddApiService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pddxpb.PddApiService",
	HandlerType: (*PddApiServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AuthorityQuery",
			Handler:    _PddApiService_AuthorityQuery_Handler,
		},
		{
			MethodName: "CreateMarketingURL",
			Handler:    _PddApiService_CreateMarketingURL_Handler,
		},
		{
			MethodName: "URLConvert",
			Handler:    _PddApiService_URLConvert_Handler,
		},
		{
			MethodName: "Promotion",
			Handler:    _PddApiService_Promotion_Handler,
		},
		{
			MethodName: "GoodsSearch",
			Handler:    _PddApiService_GoodsSearch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.pdd.ddx.proto",
}

PddApiService_ServiceDesc is the grpc.ServiceDesc for PddApiService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPddApiServiceServer

func RegisterPddApiServiceServer(s grpc.ServiceRegistrar, srv PddApiServiceServer)

Types

type AuthorityQueryData

type AuthorityQueryData struct {
	Bind int32 `protobuf:"varint,1,opt,name=bind,proto3" json:"bind,omitempty"` // 1-已绑定;0-未绑定
	// contains filtered or unexported fields
}

API: http://api.tbk.dingdanxia.com/pdd/authority_query

func (*AuthorityQueryData) Descriptor deprecated

func (*AuthorityQueryData) Descriptor() ([]byte, []int)

Deprecated: Use AuthorityQueryData.ProtoReflect.Descriptor instead.

func (*AuthorityQueryData) GetBind

func (x *AuthorityQueryData) GetBind() int32

func (*AuthorityQueryData) ProtoMessage

func (*AuthorityQueryData) ProtoMessage()

func (*AuthorityQueryData) ProtoReflect

func (x *AuthorityQueryData) ProtoReflect() protoreflect.Message

func (*AuthorityQueryData) Reset

func (x *AuthorityQueryData) Reset()

func (*AuthorityQueryData) String

func (x *AuthorityQueryData) String() string

type AuthorityQueryRequest

type AuthorityQueryRequest struct {
	Pid              *string `protobuf:"bytes,1,opt,name=pid,proto3,oneof" json:"pid,omitempty"`                                                   // 推广位ID; 和custom_parameters至少传入1个;不传时server侧会使用默认PID
	CustomParameters *string `protobuf:"bytes,2,opt,name=custom_parameters,json=customParameters,proto3,oneof" json:"custom_parameters,omitempty"` // 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;格式为: {"uid":"11111","sid":"22222"} ,其中 uid 用户唯一标识,可自行加密后传入,每个用户仅且对应一个标识,必填; sid 上下文信息标识,例如sessionId等,非必填。该json字符串中也可以加入其他自定义的key
	PddAuthId        *string `protobuf:"bytes,3,opt,name=pdd_auth_id,json=pddAuthId,proto3,oneof" json:"pdd_auth_id,omitempty"`                    // 切换授权参数
	// contains filtered or unexported fields
}

func (*AuthorityQueryRequest) Descriptor deprecated

func (*AuthorityQueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthorityQueryRequest.ProtoReflect.Descriptor instead.

func (*AuthorityQueryRequest) GetCustomParameters

func (x *AuthorityQueryRequest) GetCustomParameters() string

func (*AuthorityQueryRequest) GetPddAuthId

func (x *AuthorityQueryRequest) GetPddAuthId() string

func (*AuthorityQueryRequest) GetPid

func (x *AuthorityQueryRequest) GetPid() string

func (*AuthorityQueryRequest) ProtoMessage

func (*AuthorityQueryRequest) ProtoMessage()

func (*AuthorityQueryRequest) ProtoReflect

func (x *AuthorityQueryRequest) ProtoReflect() protoreflect.Message

func (*AuthorityQueryRequest) Reset

func (x *AuthorityQueryRequest) Reset()

func (*AuthorityQueryRequest) String

func (x *AuthorityQueryRequest) String() string

type AuthorityQueryResponse

type AuthorityQueryResponse struct {
	Code int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string              `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data *AuthorityQueryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorityQueryResponse) Descriptor deprecated

func (*AuthorityQueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthorityQueryResponse.ProtoReflect.Descriptor instead.

func (*AuthorityQueryResponse) GetCode

func (x *AuthorityQueryResponse) GetCode() int32

func (*AuthorityQueryResponse) GetData

func (*AuthorityQueryResponse) GetMsg

func (x *AuthorityQueryResponse) GetMsg() string

func (*AuthorityQueryResponse) ProtoMessage

func (*AuthorityQueryResponse) ProtoMessage()

func (*AuthorityQueryResponse) ProtoReflect

func (x *AuthorityQueryResponse) ProtoReflect() protoreflect.Message

func (*AuthorityQueryResponse) Reset

func (x *AuthorityQueryResponse) Reset()

func (*AuthorityQueryResponse) String

func (x *AuthorityQueryResponse) String() string

type CreateMarketingURLRequest

type CreateMarketingURLRequest struct {
	PIdList           *string `protobuf:"bytes,1,opt,name=p_id_list,json=pIdList,proto3,oneof" json:"p_id_list,omitempty"`                                // 推广位ID; 和custom_parameters至少传入1个;不传时server侧会使用默认PID
	CustomParameters  *string `protobuf:"bytes,2,opt,name=custom_parameters,json=customParameters,proto3,oneof" json:"custom_parameters,omitempty"`       // 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;
	GenerateQqApp     *bool   `protobuf:"varint,3,opt,name=generate_qq_app,json=generateQqApp,proto3,oneof" json:"generate_qq_app,omitempty"`             // 是否生成qq小程序
	GenerateSchemaUrl *bool   `protobuf:"varint,4,opt,name=generate_schema_url,json=generateSchemaUrl,proto3,oneof" json:"generate_schema_url,omitempty"` // 是否返回 schema URL
	GenerateShortUrl  *bool   `protobuf:"varint,5,opt,name=generate_short_url,json=generateShortUrl,proto3,oneof" json:"generate_short_url,omitempty"`    // 是否生成短链接。true-是,false-否,默认false
	GenerateWeApp     *bool   `protobuf:"varint,6,opt,name=generate_we_app,json=generateWeApp,proto3,oneof" json:"generate_we_app,omitempty"`             // 是否生成小程序推广
	ChannelType       int32   `protobuf:"varint,7,opt,name=channel_type,json=channelType,proto3" json:"channel_type,omitempty"`                           // 营销工具类型,必填:-1-活动列表,0-红包(需申请推广权限),2–新人红包,3-刮刮卡,5-员工内购,6-购物车,10-生成绑定备案链接,12-砸金蛋,13-一元购,14-千万补贴B端页面,15-充值中心B端页面
	ScratchCardAmount *uint64 `protobuf:"varint,8,opt,name=scratch_card_amount,json=scratchCardAmount,proto3,oneof" json:"scratch_card_amount,omitempty"` // 刮刮卡指定金额(单位分),可指定2-100元间数值,即有效区间为:[200,10000]
	PddAuthId         *string `protobuf:"bytes,9,opt,name=pdd_auth_id,json=pddAuthId,proto3,oneof" json:"pdd_auth_id,omitempty"`                          // 切换授权参数
	// contains filtered or unexported fields
}

func (*CreateMarketingURLRequest) Descriptor deprecated

func (*CreateMarketingURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateMarketingURLRequest.ProtoReflect.Descriptor instead.

func (*CreateMarketingURLRequest) GetChannelType

func (x *CreateMarketingURLRequest) GetChannelType() int32

func (*CreateMarketingURLRequest) GetCustomParameters

func (x *CreateMarketingURLRequest) GetCustomParameters() string

func (*CreateMarketingURLRequest) GetGenerateQqApp

func (x *CreateMarketingURLRequest) GetGenerateQqApp() bool

func (*CreateMarketingURLRequest) GetGenerateSchemaUrl

func (x *CreateMarketingURLRequest) GetGenerateSchemaUrl() bool

func (*CreateMarketingURLRequest) GetGenerateShortUrl

func (x *CreateMarketingURLRequest) GetGenerateShortUrl() bool

func (*CreateMarketingURLRequest) GetGenerateWeApp

func (x *CreateMarketingURLRequest) GetGenerateWeApp() bool

func (*CreateMarketingURLRequest) GetPIdList

func (x *CreateMarketingURLRequest) GetPIdList() string

func (*CreateMarketingURLRequest) GetPddAuthId

func (x *CreateMarketingURLRequest) GetPddAuthId() string

func (*CreateMarketingURLRequest) GetScratchCardAmount

func (x *CreateMarketingURLRequest) GetScratchCardAmount() uint64

func (*CreateMarketingURLRequest) ProtoMessage

func (*CreateMarketingURLRequest) ProtoMessage()

func (*CreateMarketingURLRequest) ProtoReflect

func (*CreateMarketingURLRequest) Reset

func (x *CreateMarketingURLRequest) Reset()

func (*CreateMarketingURLRequest) String

func (x *CreateMarketingURLRequest) String() string

type CreateMarketingURLResponse

type CreateMarketingURLResponse struct {
	Code int32             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data *MarketingURLData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMarketingURLResponse) Descriptor deprecated

func (*CreateMarketingURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateMarketingURLResponse.ProtoReflect.Descriptor instead.

func (*CreateMarketingURLResponse) GetCode

func (x *CreateMarketingURLResponse) GetCode() int32

func (*CreateMarketingURLResponse) GetData

func (*CreateMarketingURLResponse) GetMsg

func (x *CreateMarketingURLResponse) GetMsg() string

func (*CreateMarketingURLResponse) ProtoMessage

func (*CreateMarketingURLResponse) ProtoMessage()

func (*CreateMarketingURLResponse) ProtoReflect

func (*CreateMarketingURLResponse) Reset

func (x *CreateMarketingURLResponse) Reset()

func (*CreateMarketingURLResponse) String

func (x *CreateMarketingURLResponse) String() string

type ItemInfo

type ItemInfo struct {
	GoodsName            string `protobuf:"bytes,1,opt,name=goods_name,json=goodsName,proto3" json:"goods_name,omitempty"`                                     // 商品名称
	GoodsId              uint64 `protobuf:"varint,2,opt,name=goods_id,json=goodsId,proto3" json:"goods_id,omitempty"`                                          // 商品ID
	MinNormalPrice       uint64 `protobuf:"varint,3,opt,name=min_normal_price,json=minNormalPrice,proto3" json:"min_normal_price,omitempty"`                   // 最小单买价格(单位为分)
	MinGroupPrice        uint64 `protobuf:"varint,4,opt,name=min_group_price,json=minGroupPrice,proto3" json:"min_group_price,omitempty"`                      // 最小拼团价(单位为分)
	PromotionRate        uint64 `protobuf:"varint,5,opt,name=promotion_rate,json=promotionRate,proto3" json:"promotion_rate,omitempty"`                        // 佣金比例,千分比
	PredictPromotionRate uint64 `protobuf:"varint,6,opt,name=predict_promotion_rate,json=predictPromotionRate,proto3" json:"predict_promotion_rate,omitempty"` // 比价行为预判定佣金,需要用户备案
	CouponMinOrderAmount uint64 ``                                                                                                                             // 优惠券门槛价格,单位为分
	/* 126-byte string literal not displayed */
	CouponDiscount       uint64 `protobuf:"varint,8,opt,name=coupon_discount,json=couponDiscount,proto3" json:"coupon_discount,omitempty"`                      // 优惠券面额,单位为分
	CouponTotalQuantity  uint64 `protobuf:"varint,9,opt,name=coupon_total_quantity,json=couponTotalQuantity,proto3" json:"coupon_total_quantity,omitempty"`     // 优惠券总数量
	CouponRemainQuantity uint64 `protobuf:"varint,10,opt,name=coupon_remain_quantity,json=couponRemainQuantity,proto3" json:"coupon_remain_quantity,omitempty"` // 优惠券剩余数量
	CouponStartTime      uint64 `protobuf:"varint,11,opt,name=coupon_start_time,json=couponStartTime,proto3" json:"coupon_start_time,omitempty"`                // 优惠券生效时间,UNIX时间戳
	CouponEndTime        uint64 `protobuf:"varint,12,opt,name=coupon_end_time,json=couponEndTime,proto3" json:"coupon_end_time,omitempty"`                      // 优惠券失效时间,UNIX时间戳
	HasCoupon            bool   `protobuf:"varint,13,opt,name=has_coupon,json=hasCoupon,proto3" json:"has_coupon,omitempty"`                                    // 商品是否有优惠券 true-有,false-没有
	// contains filtered or unexported fields
}

API: http://api.tbk.dingdanxia.com/pdd/url_convert

func (*ItemInfo) Descriptor deprecated

func (*ItemInfo) Descriptor() ([]byte, []int)

Deprecated: Use ItemInfo.ProtoReflect.Descriptor instead.

func (*ItemInfo) GetCouponDiscount

func (x *ItemInfo) GetCouponDiscount() uint64

func (*ItemInfo) GetCouponEndTime

func (x *ItemInfo) GetCouponEndTime() uint64

func (*ItemInfo) GetCouponMinOrderAmount

func (x *ItemInfo) GetCouponMinOrderAmount() uint64

func (*ItemInfo) GetCouponRemainQuantity

func (x *ItemInfo) GetCouponRemainQuantity() uint64

func (*ItemInfo) GetCouponStartTime

func (x *ItemInfo) GetCouponStartTime() uint64

func (*ItemInfo) GetCouponTotalQuantity

func (x *ItemInfo) GetCouponTotalQuantity() uint64

func (*ItemInfo) GetGoodsId

func (x *ItemInfo) GetGoodsId() uint64

func (*ItemInfo) GetGoodsName

func (x *ItemInfo) GetGoodsName() string

func (*ItemInfo) GetHasCoupon

func (x *ItemInfo) GetHasCoupon() bool

func (*ItemInfo) GetMinGroupPrice

func (x *ItemInfo) GetMinGroupPrice() uint64

func (*ItemInfo) GetMinNormalPrice

func (x *ItemInfo) GetMinNormalPrice() uint64

func (*ItemInfo) GetPredictPromotionRate

func (x *ItemInfo) GetPredictPromotionRate() uint64

func (*ItemInfo) GetPromotionRate

func (x *ItemInfo) GetPromotionRate() uint64

func (*ItemInfo) ProtoMessage

func (*ItemInfo) ProtoMessage()

func (*ItemInfo) ProtoReflect

func (x *ItemInfo) ProtoReflect() protoreflect.Message

func (*ItemInfo) Reset

func (x *ItemInfo) Reset()

func (*ItemInfo) String

func (x *ItemInfo) String() string

type MarketingURLData

type MarketingURLData struct {
	ResourceList []*Resource `protobuf:"bytes,1,rep,name=resource_list,json=resourceList,proto3" json:"resource_list,omitempty"`
	UrlList      []*URLInfo  `protobuf:"bytes,2,rep,name=url_list,json=urlList,proto3" json:"url_list,omitempty"`
	// contains filtered or unexported fields
}

func (*MarketingURLData) Descriptor deprecated

func (*MarketingURLData) Descriptor() ([]byte, []int)

Deprecated: Use MarketingURLData.ProtoReflect.Descriptor instead.

func (*MarketingURLData) GetResourceList

func (x *MarketingURLData) GetResourceList() []*Resource

func (*MarketingURLData) GetUrlList

func (x *MarketingURLData) GetUrlList() []*URLInfo

func (*MarketingURLData) ProtoMessage

func (*MarketingURLData) ProtoMessage()

func (*MarketingURLData) ProtoReflect

func (x *MarketingURLData) ProtoReflect() protoreflect.Message

func (*MarketingURLData) Reset

func (x *MarketingURLData) Reset()

func (*MarketingURLData) String

func (x *MarketingURLData) String() string

type PddApiServiceClient

type PddApiServiceClient interface {
	AuthorityQuery(ctx context.Context, in *AuthorityQueryRequest, opts ...grpc.CallOption) (*AuthorityQueryResponse, error)
	CreateMarketingURL(ctx context.Context, in *CreateMarketingURLRequest, opts ...grpc.CallOption) (*CreateMarketingURLResponse, error)
	URLConvert(ctx context.Context, in *URLConvertRequest, opts ...grpc.CallOption) (*URLConvertResponse, error)
	Promotion(ctx context.Context, in *PromotionRequest, opts ...grpc.CallOption) (*PromotionResponse, error)
	GoodsSearch(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
}

PddApiServiceClient is the client API for PddApiService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PddApiServiceServer

type PddApiServiceServer interface {
	AuthorityQuery(context.Context, *AuthorityQueryRequest) (*AuthorityQueryResponse, error)
	CreateMarketingURL(context.Context, *CreateMarketingURLRequest) (*CreateMarketingURLResponse, error)
	URLConvert(context.Context, *URLConvertRequest) (*URLConvertResponse, error)
	Promotion(context.Context, *PromotionRequest) (*PromotionResponse, error)
	GoodsSearch(context.Context, *SearchRequest) (*SearchResponse, error)
	// contains filtered or unexported methods
}

PddApiServiceServer is the server API for PddApiService service. All implementations must embed UnimplementedPddApiServiceServer for forward compatibility

type PromotedData added in v0.1.15

type PromotedData struct {
	WeAppWebViewShortUrl string `` // 唤起微信app推广短链接
	/* 129-byte string literal not displayed */
	WeAppWebViewUrl         string `protobuf:"bytes,2,opt,name=we_app_web_view_url,json=weAppWebViewUrl,proto3" json:"we_app_web_view_url,omitempty"` // 唤起微信app推广链接
	MobileShortUrl          string `protobuf:"bytes,3,opt,name=mobile_short_url,json=mobileShortUrl,proto3" json:"mobile_short_url,omitempty"`        // 唤醒拼多多app的推广短链接
	MobileUrl               string `protobuf:"bytes,4,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url,omitempty"`                         // 唤醒拼多多app的推广长链接
	ShortUrl                string `protobuf:"bytes,5,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"`                            // 推广短链接
	Url                     string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`                                                      // 推广长链接
	WeiboAppWebViewShortUrl string ``                                                                                                                 // 唤起微博app推广短链接
	/* 138-byte string literal not displayed */
	WeiboAppWebViewUrl string     `protobuf:"bytes,8,opt,name=weibo_app_web_view_url,json=weiboAppWebViewUrl,proto3" json:"weibo_app_web_view_url,omitempty"` // 唤起微博app推广链接
	SchemaUrl          string     `protobuf:"bytes,9,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`                                  // schema的链接
	WeAppInfo          *WeAppInfo `protobuf:"bytes,10,opt,name=we_app_info,json=weAppInfo,proto3" json:"we_app_info,omitempty"`                               // 小程序信息
	ItemInfo           *ItemInfo  `protobuf:"bytes,11,opt,name=itemInfo,proto3" json:"itemInfo,omitempty"`                                                    // 商品基本信息 itemInfo=true 才会出
	// contains filtered or unexported fields
}

PromotedData promotion by goods sign

func (*PromotedData) Descriptor deprecated added in v0.1.15

func (*PromotedData) Descriptor() ([]byte, []int)

Deprecated: Use PromotedData.ProtoReflect.Descriptor instead.

func (*PromotedData) GetItemInfo added in v0.1.15

func (x *PromotedData) GetItemInfo() *ItemInfo

func (*PromotedData) GetMobileShortUrl added in v0.1.15

func (x *PromotedData) GetMobileShortUrl() string

func (*PromotedData) GetMobileUrl added in v0.1.15

func (x *PromotedData) GetMobileUrl() string

func (*PromotedData) GetSchemaUrl added in v0.1.15

func (x *PromotedData) GetSchemaUrl() string

func (*PromotedData) GetShortUrl added in v0.1.15

func (x *PromotedData) GetShortUrl() string

func (*PromotedData) GetUrl added in v0.1.15

func (x *PromotedData) GetUrl() string

func (*PromotedData) GetWeAppInfo added in v0.1.15

func (x *PromotedData) GetWeAppInfo() *WeAppInfo

func (*PromotedData) GetWeAppWebViewShortUrl added in v0.1.15

func (x *PromotedData) GetWeAppWebViewShortUrl() string

func (*PromotedData) GetWeAppWebViewUrl added in v0.1.15

func (x *PromotedData) GetWeAppWebViewUrl() string

func (*PromotedData) GetWeiboAppWebViewShortUrl added in v0.1.15

func (x *PromotedData) GetWeiboAppWebViewShortUrl() string

func (*PromotedData) GetWeiboAppWebViewUrl added in v0.1.15

func (x *PromotedData) GetWeiboAppWebViewUrl() string

func (*PromotedData) ProtoMessage added in v0.1.15

func (*PromotedData) ProtoMessage()

func (*PromotedData) ProtoReflect added in v0.1.15

func (x *PromotedData) ProtoReflect() protoreflect.Message

func (*PromotedData) Reset added in v0.1.15

func (x *PromotedData) Reset()

func (*PromotedData) String added in v0.1.15

func (x *PromotedData) String() string

type PromotionRequest added in v0.1.17

type PromotionRequest struct {
	GoodsSign            string  `protobuf:"bytes,1,opt,name=goods_sign,json=goodsSign,proto3" json:"goods_sign,omitempty"`                            // 商品goodsSign,推荐使用,可走最优计划
	Pid                  *string `protobuf:"bytes,2,opt,name=pid,proto3,oneof" json:"pid,omitempty"`                                                   // 推广位ID; 和custom_parameters至少传入1个;不传时server侧会使用默认PID
	CustomParameters     *string `protobuf:"bytes,3,opt,name=custom_parameters,json=customParameters,proto3,oneof" json:"custom_parameters,omitempty"` // 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;格式为: {"uid":"11111","sid":"22222"} ,其中 uid 用户唯一标识,可自行加密后传入,每个用户仅且对应一个标识,必填; sid 上下文信息标识,例如sessionId等,非必填。该json字符串中也可以加入其他自定义的key
	CashGiftId           *uint64 `protobuf:"varint,4,opt,name=cash_gift_id,json=cashGiftId,proto3,oneof" json:"cash_gift_id,omitempty"`                // 多多礼金ID
	CashGiftName         *string `protobuf:"bytes,5,opt,name=cash_gift_name,json=cashGiftName,proto3,oneof" json:"cash_gift_name,omitempty"`           // 自定义礼金标题,用于向用户展示渠道专属福利,不超过12个字
	ItemInfo             *bool   `protobuf:"varint,6,opt,name=itemInfo,proto3,oneof" json:"itemInfo,omitempty"`                                        // 是否返回商品信息 包含商品标题、ID、价格、佣金、优惠券信息
	GenerateAuthorityUrl *bool   ``                                                                                                                    // 是否生成带授权的单品链接。如果未授权,则会走授权流程
	/* 130-byte string literal not displayed */
	GenerateShortUrl     *bool `protobuf:"varint,8,opt,name=generate_short_url,json=generateShortUrl,proto3,oneof" json:"generate_short_url,omitempty"` // 是否生成短链接
	MultiGroup           *bool `protobuf:"varint,9,opt,name=multi_group,json=multiGroup,proto3,oneof" json:"multi_group,omitempty"`                     // true--生成多人团推广链接 false--生成单人团推广链接(默认false)1、单人团推广链接:用户访问单人团推广链接,可直接购买商品无需拼团。2、多人团推广链接:用户访问双人团推广链接开团,若用户分享给他
	GenerateWeappWebview *bool ``                                                                                                                       // 是否生成唤起微信客户端链接,true-是,false-否,默认false
	/* 131-byte string literal not displayed */
	ZsDuoId                 *string `protobuf:"bytes,11,opt,name=zs_duo_id,json=zsDuoId,proto3,oneof" json:"zs_duo_id,omitempty"`                    // 招商多多客ID
	GenerateWeApp           *bool   `protobuf:"varint,12,opt,name=generate_we_app,json=generateWeApp,proto3,oneof" json:"generate_we_app,omitempty"` // 是否生成小程序推广
	GenerateWeiboappWebview *bool   ``                                                                                                               // 是否生成微博推广
	/* 140-byte string literal not displayed */
	GenerateMallCollectCoupon *bool `` // 是否生成店铺收藏券推广链接
	/* 148-byte string literal not displayed */
	GenerateQqApp     *bool   `protobuf:"varint,15,opt,name=generate_qq_app,json=generateQqApp,proto3,oneof" json:"generate_qq_app,omitempty"`             // 是否生成qq小程序
	GenerateSchemaUrl *bool   `protobuf:"varint,16,opt,name=generate_schema_url,json=generateSchemaUrl,proto3,oneof" json:"generate_schema_url,omitempty"` // 是否返回 schema URL
	SearchId          *string `protobuf:"bytes,17,opt,name=search_id,json=searchId,proto3,oneof" json:"search_id,omitempty"`                               // 搜索id,建议填写,提高收益,通过搜索接口获取
	ForceDuoId        *bool   `protobuf:"varint,18,opt,name=force_duo_id,json=forceDuoId,proto3,oneof" json:"force_duo_id,omitempty"`                      // 是否使用多多客专属推广计划
	GoodsIdList       *string `protobuf:"bytes,19,opt,name=goods_id_list,json=goodsIdList,proto3,oneof" json:"goods_id_list,omitempty"`                    // 商品ID,不建议使用,请优先使用goods_sign
	PddAuthId         *string `protobuf:"bytes,20,opt,name=pdd_auth_id,json=pddAuthId,proto3,oneof" json:"pdd_auth_id,omitempty"`                          // 切换授权参数
	// contains filtered or unexported fields
}

func (*PromotionRequest) Descriptor deprecated added in v0.1.17

func (*PromotionRequest) Descriptor() ([]byte, []int)

Deprecated: Use PromotionRequest.ProtoReflect.Descriptor instead.

func (*PromotionRequest) GetCashGiftId added in v0.1.17

func (x *PromotionRequest) GetCashGiftId() uint64

func (*PromotionRequest) GetCashGiftName added in v0.1.17

func (x *PromotionRequest) GetCashGiftName() string

func (*PromotionRequest) GetCustomParameters added in v0.1.17

func (x *PromotionRequest) GetCustomParameters() string

func (*PromotionRequest) GetForceDuoId added in v0.1.17

func (x *PromotionRequest) GetForceDuoId() bool

func (*PromotionRequest) GetGenerateAuthorityUrl added in v0.1.17

func (x *PromotionRequest) GetGenerateAuthorityUrl() bool

func (*PromotionRequest) GetGenerateMallCollectCoupon added in v0.1.17

func (x *PromotionRequest) GetGenerateMallCollectCoupon() bool

func (*PromotionRequest) GetGenerateQqApp added in v0.1.17

func (x *PromotionRequest) GetGenerateQqApp() bool

func (*PromotionRequest) GetGenerateSchemaUrl added in v0.1.17

func (x *PromotionRequest) GetGenerateSchemaUrl() bool

func (*PromotionRequest) GetGenerateShortUrl added in v0.1.17

func (x *PromotionRequest) GetGenerateShortUrl() bool

func (*PromotionRequest) GetGenerateWeApp added in v0.1.17

func (x *PromotionRequest) GetGenerateWeApp() bool

func (*PromotionRequest) GetGenerateWeappWebview added in v0.1.17

func (x *PromotionRequest) GetGenerateWeappWebview() bool

func (*PromotionRequest) GetGenerateWeiboappWebview added in v0.1.17

func (x *PromotionRequest) GetGenerateWeiboappWebview() bool

func (*PromotionRequest) GetGoodsIdList added in v0.1.17

func (x *PromotionRequest) GetGoodsIdList() string

func (*PromotionRequest) GetGoodsSign added in v0.1.17

func (x *PromotionRequest) GetGoodsSign() string

func (*PromotionRequest) GetItemInfo added in v0.1.17

func (x *PromotionRequest) GetItemInfo() bool

func (*PromotionRequest) GetMultiGroup added in v0.1.17

func (x *PromotionRequest) GetMultiGroup() bool

func (*PromotionRequest) GetPddAuthId added in v0.1.17

func (x *PromotionRequest) GetPddAuthId() string

func (*PromotionRequest) GetPid added in v0.1.17

func (x *PromotionRequest) GetPid() string

func (*PromotionRequest) GetSearchId added in v0.1.17

func (x *PromotionRequest) GetSearchId() string

func (*PromotionRequest) GetZsDuoId added in v0.1.17

func (x *PromotionRequest) GetZsDuoId() string

func (*PromotionRequest) ProtoMessage added in v0.1.17

func (*PromotionRequest) ProtoMessage()

func (*PromotionRequest) ProtoReflect added in v0.1.17

func (x *PromotionRequest) ProtoReflect() protoreflect.Message

func (*PromotionRequest) Reset added in v0.1.17

func (x *PromotionRequest) Reset()

func (*PromotionRequest) String added in v0.1.17

func (x *PromotionRequest) String() string

type PromotionResponse added in v0.1.17

type PromotionResponse struct {
	Code int32         `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string        `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data *PromotedData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*PromotionResponse) Descriptor deprecated added in v0.1.17

func (*PromotionResponse) Descriptor() ([]byte, []int)

Deprecated: Use PromotionResponse.ProtoReflect.Descriptor instead.

func (*PromotionResponse) GetCode added in v0.1.17

func (x *PromotionResponse) GetCode() int32

func (*PromotionResponse) GetData added in v0.1.17

func (x *PromotionResponse) GetData() *PromotedData

func (*PromotionResponse) GetMsg added in v0.1.17

func (x *PromotionResponse) GetMsg() string

func (*PromotionResponse) ProtoMessage added in v0.1.17

func (*PromotionResponse) ProtoMessage()

func (*PromotionResponse) ProtoReflect added in v0.1.17

func (x *PromotionResponse) ProtoReflect() protoreflect.Message

func (*PromotionResponse) Reset added in v0.1.17

func (x *PromotionResponse) Reset()

func (*PromotionResponse) String added in v0.1.17

func (x *PromotionResponse) String() string

type QQAppInfo

type QQAppInfo struct {
	AppId             string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	BannerUrl         string `protobuf:"bytes,2,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url,omitempty"`
	Desc              string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	PagePath          string `protobuf:"bytes,4,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
	QqAppIconUrl      string `protobuf:"bytes,5,opt,name=qq_app_icon_url,json=qqAppIconUrl,proto3" json:"qq_app_icon_url,omitempty"`
	SourceDisplayName string `protobuf:"bytes,6,opt,name=source_display_name,json=sourceDisplayName,proto3" json:"source_display_name,omitempty"`
	Title             string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	UserName          string `protobuf:"bytes,8,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*QQAppInfo) Descriptor deprecated

func (*QQAppInfo) Descriptor() ([]byte, []int)

Deprecated: Use QQAppInfo.ProtoReflect.Descriptor instead.

func (*QQAppInfo) GetAppId

func (x *QQAppInfo) GetAppId() string

func (*QQAppInfo) GetBannerUrl

func (x *QQAppInfo) GetBannerUrl() string

func (*QQAppInfo) GetDesc

func (x *QQAppInfo) GetDesc() string

func (*QQAppInfo) GetPagePath

func (x *QQAppInfo) GetPagePath() string

func (*QQAppInfo) GetQqAppIconUrl

func (x *QQAppInfo) GetQqAppIconUrl() string

func (*QQAppInfo) GetSourceDisplayName

func (x *QQAppInfo) GetSourceDisplayName() string

func (*QQAppInfo) GetTitle

func (x *QQAppInfo) GetTitle() string

func (*QQAppInfo) GetUserName

func (x *QQAppInfo) GetUserName() string

func (*QQAppInfo) ProtoMessage

func (*QQAppInfo) ProtoMessage()

func (*QQAppInfo) ProtoReflect

func (x *QQAppInfo) ProtoReflect() protoreflect.Message

func (*QQAppInfo) Reset

func (x *QQAppInfo) Reset()

func (*QQAppInfo) String

func (x *QQAppInfo) String() string

type Resource

type Resource struct {
	Desc string `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` // 活动描述
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`   // 活动地址
	// contains filtered or unexported fields
}

API: http://api.tbk.dingdanxia.com/pdd/prom_url_generate

func (*Resource) Descriptor deprecated

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetDesc

func (x *Resource) GetDesc() string

func (*Resource) GetUrl

func (x *Resource) GetUrl() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type SearchData added in v0.1.15

type SearchData struct {
	HasMallCoupon         bool   `protobuf:"varint,1,opt,name=has_mall_coupon,json=hasMallCoupon,proto3" json:"has_mall_coupon,omitempty"` // 是否有店铺券
	MallCouponId          uint64 `protobuf:"varint,2,opt,name=mall_coupon_id,json=mallCouponId,proto3" json:"mall_coupon_id,omitempty"`    // 店铺券id
	MallCouponDiscountPct int32  ``                                                                                                        // 店铺券折扣
	/* 129-byte string literal not displayed */
	MallCouponMinOrderAmount int32 `` // 最小使用金额
	/* 140-byte string literal not displayed */
	MallCouponMaxDiscountAmount int32 `` // 最大使用金额
	/* 149-byte string literal not displayed */
	MallCouponTotalQuantity uint64 `` // 店铺券总量
	/* 135-byte string literal not displayed */
	MallCouponRemainQuantity uint64 `` // 店铺券余量
	/* 138-byte string literal not displayed */
	MallCouponStartTime  uint64   `protobuf:"varint,8,opt,name=mall_coupon_start_time,json=mallCouponStartTime,proto3" json:"mall_coupon_start_time,omitempty"` // 店铺券开始使用时间
	MallCouponEndTime    uint64   `protobuf:"varint,9,opt,name=mall_coupon_end_time,json=mallCouponEndTime,proto3" json:"mall_coupon_end_time,omitempty"`       // 店铺券结束使用时间
	CreateAt             uint64   `protobuf:"varint,10,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`                                     // 创建时间(unix时间戳)
	GoodsId              uint64   `protobuf:"varint,11,opt,name=goods_id,json=goodsId,proto3" json:"goods_id,omitempty"`                                        // 商品id
	GoodsName            string   `protobuf:"bytes,12,opt,name=goods_name,json=goodsName,proto3" json:"goods_name,omitempty"`                                   // 商品名称
	GoodsDesc            string   `protobuf:"bytes,13,opt,name=goods_desc,json=goodsDesc,proto3" json:"goods_desc,omitempty"`                                   // 商品描述
	GoodsThumbnailUrl    string   `protobuf:"bytes,14,opt,name=goods_thumbnail_url,json=goodsThumbnailUrl,proto3" json:"goods_thumbnail_url,omitempty"`         // 商品缩略图
	GoodsImageUrl        string   `protobuf:"bytes,15,opt,name=goods_image_url,json=goodsImageUrl,proto3" json:"goods_image_url,omitempty"`                     // 商品主图
	MinGroupPrice        uint64   `protobuf:"varint,16,opt,name=min_group_price,json=minGroupPrice,proto3" json:"min_group_price,omitempty"`                    // 最小拼团价(单位为分)
	MinNormalPrice       uint64   `protobuf:"varint,17,opt,name=min_normal_price,json=minNormalPrice,proto3" json:"min_normal_price,omitempty"`                 // 最小单买价格(单位为分)
	MallName             string   `protobuf:"bytes,18,opt,name=mall_name,json=mallName,proto3" json:"mall_name,omitempty"`                                      // 店铺名字
	MerchantType         int32    `protobuf:"varint,19,opt,name=merchant_type,json=merchantType,proto3" json:"merchant_type,omitempty"`                         // 店铺类型,1-个人,2-企业,3-旗舰店,4-专卖店,5-专营店,6-普通店(未传为全部)
	CategoryId           uint64   `protobuf:"varint,20,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`                               // 商品类目ID,使用pdd.goods.cats.get接口获取
	CategoryName         string   `protobuf:"bytes,21,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`                          // 商品类目名
	OptId                uint64   `protobuf:"varint,22,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"`                                              // 商品标签ID
	OptName              string   `protobuf:"bytes,23,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"`                                         // 商品标签名
	OptIds               []uint64 `protobuf:"varint,24,rep,packed,name=opt_ids,json=optIds,proto3" json:"opt_ids,omitempty"`                                    // 商品标签ID list
	CatIds               []uint64 `protobuf:"varint,25,rep,packed,name=cat_ids,json=catIds,proto3" json:"cat_ids,omitempty"`                                    // 商品类目ID list
	MallCps              int32    `protobuf:"varint,26,opt,name=mall_cps,json=mallCps,proto3" json:"mall_cps,omitempty"`                                        // 该商品所在店铺是否参与全店推广,0:否,1:是
	HasCoupon            bool     `protobuf:"varint,27,opt,name=has_coupon,json=hasCoupon,proto3" json:"has_coupon,omitempty"`                                  // 商品是否有优惠券 true-有,false-没有
	CouponMinOrderAmount uint64   ``                                                                                                                            // 优惠券门槛价格,单位为分
	/* 127-byte string literal not displayed */
	CouponDiscount       uint64 `protobuf:"varint,29,opt,name=coupon_discount,json=couponDiscount,proto3" json:"coupon_discount,omitempty"`                     // 优惠券面额,单位为分
	CouponTotalQuantity  uint64 `protobuf:"varint,30,opt,name=coupon_total_quantity,json=couponTotalQuantity,proto3" json:"coupon_total_quantity,omitempty"`    // 优惠券总数量
	CouponRemainQuantity uint64 `protobuf:"varint,31,opt,name=coupon_remain_quantity,json=couponRemainQuantity,proto3" json:"coupon_remain_quantity,omitempty"` // 优惠券剩余数量
	CouponStartTime      uint64 `protobuf:"varint,32,opt,name=coupon_start_time,json=couponStartTime,proto3" json:"coupon_start_time,omitempty"`                // 优惠券生效时间,UNIX时间戳
	CouponEndTime        uint64 `protobuf:"varint,33,opt,name=coupon_end_time,json=couponEndTime,proto3" json:"coupon_end_time,omitempty"`                      // 优惠券失效时间,UNIX时间戳
	PromotionRate        uint64 `protobuf:"varint,34,opt,name=promotion_rate,json=promotionRate,proto3" json:"promotion_rate,omitempty"`                        // 佣金比例,千分比
	SalesTip             string `protobuf:"bytes,35,opt,name=sales_tip,json=salesTip,proto3" json:"sales_tip,omitempty"`                                        // 已售卖件数
	ActivityType         int32  `protobuf:"varint,36,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`                           // 活动类型,0-无活动;1-秒杀;3-限量折扣;12-限时折扣;13-大促活动;14-名品折扣;15-品牌清仓;16-食品超市;17-一元幸运团;18-爱逛街;19-时尚穿搭;20-男人帮;21-9块9;22-竞价活动;23-榜单活动;24-幸运半价购;25-定金预售;26-幸运人气购;27-特色主题活动;28-断码清仓;29-一元话费;30-电器城;31-每日好店;32-品牌卡;101-大促搜索池;102-大促品类分会场;
	CltCpnBatchSn        string `protobuf:"bytes,37,opt,name=clt_cpn_batch_sn,json=cltCpnBatchSn,proto3" json:"clt_cpn_batch_sn,omitempty"`                     // 店铺收藏券id
	CltCpnStartTime      uint64 `protobuf:"varint,38,opt,name=clt_cpn_start_time,json=cltCpnStartTime,proto3" json:"clt_cpn_start_time,omitempty"`              // 店铺收藏券起始时间
	CltCpnEndTime        uint64 `protobuf:"varint,39,opt,name=clt_cpn_end_time,json=cltCpnEndTime,proto3" json:"clt_cpn_end_time,omitempty"`                    // 店铺收藏券截止时间
	CltCpnQuantity       uint64 `protobuf:"varint,40,opt,name=clt_cpn_quantity,json=cltCpnQuantity,proto3" json:"clt_cpn_quantity,omitempty"`                   // 店铺收藏券总量
	CltCpnRemainQuantity uint64 ``                                                                                                                              // 店铺收藏券剩余量
	/* 127-byte string literal not displayed */
	CltCpnDiscount       uint64 `protobuf:"varint,42,opt,name=clt_cpn_discount,json=cltCpnDiscount,proto3" json:"clt_cpn_discount,omitempty"`                   // 店铺收藏券面额,单位为分
	CltCpnMinAmt         uint64 `protobuf:"varint,43,opt,name=clt_cpn_min_amt,json=cltCpnMinAmt,proto3" json:"clt_cpn_min_amt,omitempty"`                       // 店铺收藏券使用门槛价格,单位为分
	DescTxt              string `protobuf:"bytes,44,opt,name=desc_txt,json=descTxt,proto3" json:"desc_txt,omitempty"`                                           // 描述分
	ServTxt              string `protobuf:"bytes,45,opt,name=serv_txt,json=servTxt,proto3" json:"serv_txt,omitempty"`                                           // 服务分
	LgstTxt              string `protobuf:"bytes,46,opt,name=lgst_txt,json=lgstTxt,proto3" json:"lgst_txt,omitempty"`                                           // 物流分
	PlanType             int32  `protobuf:"varint,47,opt,name=plan_type,json=planType,proto3" json:"plan_type,omitempty"`                                       // 推广计划类型 3:定向 4:招商
	ZsDuoId              uint64 `protobuf:"varint,48,opt,name=zs_duo_id,json=zsDuoId,proto3" json:"zs_duo_id,omitempty"`                                        // 招商团长id
	OnlySceneAuth        bool   `protobuf:"varint,49,opt,name=only_scene_auth,json=onlySceneAuth,proto3" json:"only_scene_auth,omitempty"`                      // 快手专享
	MallId               uint64 `protobuf:"varint,50,opt,name=mall_id,json=mallId,proto3" json:"mall_id,omitempty"`                                             // 店铺ID
	PredictPromotionRate uint64 `protobuf:"varint,51,opt,name=predict_promotion_rate,json=predictPromotionRate,proto3" json:"predict_promotion_rate,omitempty"` // 比价行为预判定佣金,需要用户备案
	GoodsSign            string `protobuf:"bytes,52,opt,name=goods_sign,json=goodsSign,proto3" json:"goods_sign,omitempty"`                                     // goods_sign
	// contains filtered or unexported fields
}

API: http://api.tbk.dingdanxia.com/pdd/goods_search

func (*SearchData) Descriptor deprecated added in v0.1.15

func (*SearchData) Descriptor() ([]byte, []int)

Deprecated: Use SearchData.ProtoReflect.Descriptor instead.

func (*SearchData) GetActivityType added in v0.1.15

func (x *SearchData) GetActivityType() int32

func (*SearchData) GetCatIds added in v0.1.15

func (x *SearchData) GetCatIds() []uint64

func (*SearchData) GetCategoryId added in v0.1.15

func (x *SearchData) GetCategoryId() uint64

func (*SearchData) GetCategoryName added in v0.1.15

func (x *SearchData) GetCategoryName() string

func (*SearchData) GetCltCpnBatchSn added in v0.1.15

func (x *SearchData) GetCltCpnBatchSn() string

func (*SearchData) GetCltCpnDiscount added in v0.1.15

func (x *SearchData) GetCltCpnDiscount() uint64

func (*SearchData) GetCltCpnEndTime added in v0.1.15

func (x *SearchData) GetCltCpnEndTime() uint64

func (*SearchData) GetCltCpnMinAmt added in v0.1.15

func (x *SearchData) GetCltCpnMinAmt() uint64

func (*SearchData) GetCltCpnQuantity added in v0.1.15

func (x *SearchData) GetCltCpnQuantity() uint64

func (*SearchData) GetCltCpnRemainQuantity added in v0.1.15

func (x *SearchData) GetCltCpnRemainQuantity() uint64

func (*SearchData) GetCltCpnStartTime added in v0.1.15

func (x *SearchData) GetCltCpnStartTime() uint64

func (*SearchData) GetCouponDiscount added in v0.1.15

func (x *SearchData) GetCouponDiscount() uint64

func (*SearchData) GetCouponEndTime added in v0.1.15

func (x *SearchData) GetCouponEndTime() uint64

func (*SearchData) GetCouponMinOrderAmount added in v0.1.15

func (x *SearchData) GetCouponMinOrderAmount() uint64

func (*SearchData) GetCouponRemainQuantity added in v0.1.15

func (x *SearchData) GetCouponRemainQuantity() uint64

func (*SearchData) GetCouponStartTime added in v0.1.15

func (x *SearchData) GetCouponStartTime() uint64

func (*SearchData) GetCouponTotalQuantity added in v0.1.15

func (x *SearchData) GetCouponTotalQuantity() uint64

func (*SearchData) GetCreateAt added in v0.1.15

func (x *SearchData) GetCreateAt() uint64

func (*SearchData) GetDescTxt added in v0.1.15

func (x *SearchData) GetDescTxt() string

func (*SearchData) GetGoodsDesc added in v0.1.15

func (x *SearchData) GetGoodsDesc() string

func (*SearchData) GetGoodsId added in v0.1.15

func (x *SearchData) GetGoodsId() uint64

func (*SearchData) GetGoodsImageUrl added in v0.1.15

func (x *SearchData) GetGoodsImageUrl() string

func (*SearchData) GetGoodsName added in v0.1.15

func (x *SearchData) GetGoodsName() string

func (*SearchData) GetGoodsSign added in v0.1.15

func (x *SearchData) GetGoodsSign() string

func (*SearchData) GetGoodsThumbnailUrl added in v0.1.15

func (x *SearchData) GetGoodsThumbnailUrl() string

func (*SearchData) GetHasCoupon added in v0.1.15

func (x *SearchData) GetHasCoupon() bool

func (*SearchData) GetHasMallCoupon added in v0.1.15

func (x *SearchData) GetHasMallCoupon() bool

func (*SearchData) GetLgstTxt added in v0.1.15

func (x *SearchData) GetLgstTxt() string

func (*SearchData) GetMallCouponDiscountPct added in v0.1.15

func (x *SearchData) GetMallCouponDiscountPct() int32

func (*SearchData) GetMallCouponEndTime added in v0.1.15

func (x *SearchData) GetMallCouponEndTime() uint64

func (*SearchData) GetMallCouponId added in v0.1.15

func (x *SearchData) GetMallCouponId() uint64

func (*SearchData) GetMallCouponMaxDiscountAmount added in v0.1.15

func (x *SearchData) GetMallCouponMaxDiscountAmount() int32

func (*SearchData) GetMallCouponMinOrderAmount added in v0.1.15

func (x *SearchData) GetMallCouponMinOrderAmount() int32

func (*SearchData) GetMallCouponRemainQuantity added in v0.1.15

func (x *SearchData) GetMallCouponRemainQuantity() uint64

func (*SearchData) GetMallCouponStartTime added in v0.1.15

func (x *SearchData) GetMallCouponStartTime() uint64

func (*SearchData) GetMallCouponTotalQuantity added in v0.1.15

func (x *SearchData) GetMallCouponTotalQuantity() uint64

func (*SearchData) GetMallCps added in v0.1.15

func (x *SearchData) GetMallCps() int32

func (*SearchData) GetMallId added in v0.1.15

func (x *SearchData) GetMallId() uint64

func (*SearchData) GetMallName added in v0.1.15

func (x *SearchData) GetMallName() string

func (*SearchData) GetMerchantType added in v0.1.15

func (x *SearchData) GetMerchantType() int32

func (*SearchData) GetMinGroupPrice added in v0.1.15

func (x *SearchData) GetMinGroupPrice() uint64

func (*SearchData) GetMinNormalPrice added in v0.1.15

func (x *SearchData) GetMinNormalPrice() uint64

func (*SearchData) GetOnlySceneAuth added in v0.1.15

func (x *SearchData) GetOnlySceneAuth() bool

func (*SearchData) GetOptId added in v0.1.15

func (x *SearchData) GetOptId() uint64

func (*SearchData) GetOptIds added in v0.1.15

func (x *SearchData) GetOptIds() []uint64

func (*SearchData) GetOptName added in v0.1.15

func (x *SearchData) GetOptName() string

func (*SearchData) GetPlanType added in v0.1.15

func (x *SearchData) GetPlanType() int32

func (*SearchData) GetPredictPromotionRate added in v0.1.15

func (x *SearchData) GetPredictPromotionRate() uint64

func (*SearchData) GetPromotionRate added in v0.1.15

func (x *SearchData) GetPromotionRate() uint64

func (*SearchData) GetSalesTip added in v0.1.15

func (x *SearchData) GetSalesTip() string

func (*SearchData) GetServTxt added in v0.1.15

func (x *SearchData) GetServTxt() string

func (*SearchData) GetZsDuoId added in v0.1.15

func (x *SearchData) GetZsDuoId() uint64

func (*SearchData) ProtoMessage added in v0.1.15

func (*SearchData) ProtoMessage()

func (*SearchData) ProtoReflect added in v0.1.15

func (x *SearchData) ProtoReflect() protoreflect.Message

func (*SearchData) Reset added in v0.1.15

func (x *SearchData) Reset()

func (*SearchData) String added in v0.1.15

func (x *SearchData) String() string

type SearchRequest added in v0.1.15

type SearchRequest struct {
	Keyword          *string  `protobuf:"bytes,1,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`                                                // 商品关键词,与opt_id字段选填一个或全部填写。可支持goods_id、拼多多链接
	OptId            *uint64  `protobuf:"varint,2,opt,name=opt_id,json=optId,proto3,oneof" json:"opt_id,omitempty"`                                      // 商品标签类目ID 详见:https://www.dingdanxia.com/doc/212/86
	Page             *int32   `protobuf:"varint,3,opt,name=page,proto3,oneof" json:"page,omitempty"`                                                     // 默认值1,商品分页数
	PageSize         *int32   `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`                             // 默认100,每页商品数量
	SortType         *int32   `protobuf:"varint,5,opt,name=sort_type,json=sortType,proto3,oneof" json:"sort_type,omitempty"`                             // 排序方式:0-综合排序;1-按佣金比率升序;2-按佣金比例降序;3-按价格升序;4-按价格降序;5-按销量升序;6-按销量降序;7-优惠券金额排序升序;8-优惠券金额排序降序;9-券后价升序排序;10-券后价降序排序;11-按照加入多多进宝时间升序;12-按照加入多多进宝时间降序;13-按佣金金额升序排序;14-按佣金金额降序排序;15-店铺描述评分升序;16-店铺描述评分降序;17-店铺物流评分升序;18-店铺物流评分降序;19-店铺服务评分升序;20-店铺服务评分降序;27-描述评分击败同类店铺百分比升序,28-描述评分击败同类店铺百分比降序,29-物流评分击败同类店铺百分比升序,30-物流评分击败同类店铺百分比降序,31-服务评分击败同类店铺百分比升序,32-服务评分击败同类店铺百分比降序
	WithCoupon       *bool    `protobuf:"varint,6,opt,name=with_coupon,json=withCoupon,proto3,oneof" json:"with_coupon,omitempty"`                       // 是否只返回优惠券的商品,false返回所有商品,true只返回有优惠券的商品
	RangeList        *string  `protobuf:"bytes,7,opt,name=range_list,json=rangeList,proto3,oneof" json:"range_list,omitempty"`                           // 筛选范围列表 样例:[{"range_id":0,"range_from":1,"range_to":1500},{"range_id":1,"range_from":1,"range_to":1500}] range_id枚举及描述: 0,最小成团价 1,券后价 2,佣金比例 3,优惠券价格 4,广告创建时间 5,销量 6,佣金金额 7,店铺描述分 8,店铺物流分 9,店铺服务分 10, 店铺描述分击败同行业百分比 11, 店铺物流分击败同行业百分比 12,店铺服务分击败同行业百分比 13,商品分 17 ,优惠券/最小团购价 18,过去两小时pv 19,过去两小时销量
	CatId            *uint64  `protobuf:"varint,8,opt,name=cat_id,json=catId,proto3,oneof" json:"cat_id,omitempty"`                                      // 商品类目ID 详见:https://www.dingdanxia.com/doc/85/86
	MerchantType     *int32   `protobuf:"varint,9,opt,name=merchant_type,json=merchantType,proto3,oneof" json:"merchant_type,omitempty"`                 // 店铺类型,1-个人,2-企业,3-旗舰店,4-专卖店,5-专营店,6-普通店(未传为全部)
	Pid              *string  `protobuf:"bytes,10,opt,name=pid,proto3,oneof" json:"pid,omitempty"`                                                       // 推广位ID; 和custom_parameters至少传入1个;不传时server侧会使用默认PID
	CustomParameters *string  `protobuf:"bytes,11,opt,name=custom_parameters,json=customParameters,proto3,oneof" json:"custom_parameters,omitempty"`     // 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;格式为: {"uid":"11111","sid":"22222"} ,其中 uid 用户唯一标识,可自行加密后传入,每个用户仅且对应一个标识,必填; sid 上下文信息标识,例如sessionId等,非必填。该json字符串中也可以加入其他自定义的key
	MerchantTypeList []int32  `protobuf:"varint,12,rep,packed,name=merchant_type_list,json=merchantTypeList,proto3" json:"merchant_type_list,omitempty"` // 店铺类型数组
	IsBrandGoods     *bool    `protobuf:"varint,13,opt,name=is_brand_goods,json=isBrandGoods,proto3,oneof" json:"is_brand_goods,omitempty"`              // 是否为品牌商品
	ActivityTags     []int32  `protobuf:"varint,14,rep,packed,name=activity_tags,json=activityTags,proto3" json:"activity_tags,omitempty"`               // 商品活动标记数组,例:[4,7],4-秒杀 7-百亿补贴 10143-每日必推等
	BlockCatPackages []int32  `protobuf:"varint,15,rep,packed,name=block_cat_packages,json=blockCatPackages,proto3" json:"block_cat_packages,omitempty"` // 屏蔽商品类目:1-拼多多小程序屏蔽类目;2-虚拟类目;3-医疗器械;4-处方药;5-非处方药
	GoodsSignList    []string `protobuf:"bytes,16,rep,name=goods_sign_list,json=goodsSignList,proto3" json:"goods_sign_list,omitempty"`                  // goodsSign列表,支持通过goodsSign查询商品
	PddAuthId        *string  `protobuf:"bytes,17,opt,name=pdd_auth_id,json=pddAuthId,proto3,oneof" json:"pdd_auth_id,omitempty"`                        // 切换授权参数
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated added in v0.1.15

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetActivityTags added in v0.1.15

func (x *SearchRequest) GetActivityTags() []int32

func (*SearchRequest) GetBlockCatPackages added in v0.1.15

func (x *SearchRequest) GetBlockCatPackages() []int32

func (*SearchRequest) GetCatId added in v0.1.15

func (x *SearchRequest) GetCatId() uint64

func (*SearchRequest) GetCustomParameters added in v0.1.15

func (x *SearchRequest) GetCustomParameters() string

func (*SearchRequest) GetGoodsSignList added in v0.1.15

func (x *SearchRequest) GetGoodsSignList() []string

func (*SearchRequest) GetIsBrandGoods added in v0.1.15

func (x *SearchRequest) GetIsBrandGoods() bool

func (*SearchRequest) GetKeyword added in v0.1.15

func (x *SearchRequest) GetKeyword() string

func (*SearchRequest) GetMerchantType added in v0.1.15

func (x *SearchRequest) GetMerchantType() int32

func (*SearchRequest) GetMerchantTypeList added in v0.1.15

func (x *SearchRequest) GetMerchantTypeList() []int32

func (*SearchRequest) GetOptId added in v0.1.15

func (x *SearchRequest) GetOptId() uint64

func (*SearchRequest) GetPage added in v0.1.15

func (x *SearchRequest) GetPage() int32

func (*SearchRequest) GetPageSize added in v0.1.15

func (x *SearchRequest) GetPageSize() int32

func (*SearchRequest) GetPddAuthId added in v0.1.15

func (x *SearchRequest) GetPddAuthId() string

func (*SearchRequest) GetPid added in v0.1.15

func (x *SearchRequest) GetPid() string

func (*SearchRequest) GetRangeList added in v0.1.15

func (x *SearchRequest) GetRangeList() string

func (*SearchRequest) GetSortType added in v0.1.15

func (x *SearchRequest) GetSortType() int32

func (*SearchRequest) GetWithCoupon added in v0.1.15

func (x *SearchRequest) GetWithCoupon() bool

func (*SearchRequest) ProtoMessage added in v0.1.15

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect added in v0.1.15

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset added in v0.1.15

func (x *SearchRequest) Reset()

func (*SearchRequest) String added in v0.1.15

func (x *SearchRequest) String() string

type SearchResponse added in v0.1.15

type SearchResponse struct {
	Code         int32         `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg          string        `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	TotalResults int32         `protobuf:"varint,3,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` // 返回商品总数
	Data         []*SearchData `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated added in v0.1.15

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetCode added in v0.1.15

func (x *SearchResponse) GetCode() int32

func (*SearchResponse) GetData added in v0.1.15

func (x *SearchResponse) GetData() []*SearchData

func (*SearchResponse) GetMsg added in v0.1.15

func (x *SearchResponse) GetMsg() string

func (*SearchResponse) GetTotalResults added in v0.1.18

func (x *SearchResponse) GetTotalResults() int32

func (*SearchResponse) ProtoMessage added in v0.1.15

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect added in v0.1.15

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset added in v0.1.15

func (x *SearchResponse) Reset()

func (*SearchResponse) String added in v0.1.15

func (x *SearchResponse) String() string

type URLConvertData added in v0.1.3

type URLConvertData struct {
	MobileShortUrl           string `protobuf:"bytes,1,opt,name=mobile_short_url,json=mobileShortUrl,proto3" json:"mobile_short_url,omitempty"` // 推广短链接(可唤起拼多多app)
	MobileUrl                string `protobuf:"bytes,2,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url,omitempty"`                  // 推广长链接(唤起拼多多app)
	MultiGroupMobileShortUrl string ``                                                                                                          // 推广短链接(唤起拼多多app)
	/* 139-byte string literal not displayed */
	MultiGroupMobileUrl string    `protobuf:"bytes,4,opt,name=multi_group_mobile_url,json=multiGroupMobileUrl,proto3" json:"multi_group_mobile_url,omitempty"` // 推广长链接(可唤起拼多多app)
	MultiGroupShortUrl  string    `protobuf:"bytes,5,opt,name=multi_group_short_url,json=multiGroupShortUrl,proto3" json:"multi_group_short_url,omitempty"`    // 双人团推广短链接
	MultiGroupUrl       string    `protobuf:"bytes,6,opt,name=multi_group_url,json=multiGroupUrl,proto3" json:"multi_group_url,omitempty"`                     // 双人团推广长链接
	SchemaUrl           string    `protobuf:"bytes,7,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`                                   // schema的链接
	ShortUrl            string    `protobuf:"bytes,8,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"`                                      // 单人团推广短链接
	Url                 string    `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"`                                                                // 单人团推广长链接
	GoodsId             string    `protobuf:"bytes,10,opt,name=goods_id,json=goodsId,proto3" json:"goods_id,omitempty"`                                        // 商品ID
	ItemInfo            *ItemInfo `protobuf:"bytes,11,opt,name=itemInfo,proto3,oneof" json:"itemInfo,omitempty"`                                               // 商品基本信息 itemInfo=true 才会出
	// contains filtered or unexported fields
}

func (*URLConvertData) Descriptor deprecated added in v0.1.3

func (*URLConvertData) Descriptor() ([]byte, []int)

Deprecated: Use URLConvertData.ProtoReflect.Descriptor instead.

func (*URLConvertData) GetGoodsId added in v0.1.3

func (x *URLConvertData) GetGoodsId() string

func (*URLConvertData) GetItemInfo added in v0.1.3

func (x *URLConvertData) GetItemInfo() *ItemInfo

func (*URLConvertData) GetMobileShortUrl added in v0.1.3

func (x *URLConvertData) GetMobileShortUrl() string

func (*URLConvertData) GetMobileUrl added in v0.1.3

func (x *URLConvertData) GetMobileUrl() string

func (*URLConvertData) GetMultiGroupMobileShortUrl added in v0.1.3

func (x *URLConvertData) GetMultiGroupMobileShortUrl() string

func (*URLConvertData) GetMultiGroupMobileUrl added in v0.1.3

func (x *URLConvertData) GetMultiGroupMobileUrl() string

func (*URLConvertData) GetMultiGroupShortUrl added in v0.1.3

func (x *URLConvertData) GetMultiGroupShortUrl() string

func (*URLConvertData) GetMultiGroupUrl added in v0.1.3

func (x *URLConvertData) GetMultiGroupUrl() string

func (*URLConvertData) GetSchemaUrl added in v0.1.3

func (x *URLConvertData) GetSchemaUrl() string

func (*URLConvertData) GetShortUrl added in v0.1.3

func (x *URLConvertData) GetShortUrl() string

func (*URLConvertData) GetUrl added in v0.1.3

func (x *URLConvertData) GetUrl() string

func (*URLConvertData) ProtoMessage added in v0.1.3

func (*URLConvertData) ProtoMessage()

func (*URLConvertData) ProtoReflect added in v0.1.3

func (x *URLConvertData) ProtoReflect() protoreflect.Message

func (*URLConvertData) Reset added in v0.1.3

func (x *URLConvertData) Reset()

func (*URLConvertData) String added in v0.1.3

func (x *URLConvertData) String() string

type URLConvertRequest

type URLConvertRequest struct {
	SourceUrl         string  `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`                                  // 需转链/解析ID的链
	Pid               *string `protobuf:"bytes,2,opt,name=pid,proto3,oneof" json:"pid,omitempty"`                                                         // 推广位ID; 和custom_parameters至少传入1个;不传时server侧会使用默认PID
	CustomParameters  *string `protobuf:"bytes,3,opt,name=custom_parameters,json=customParameters,proto3,oneof" json:"custom_parameters,omitempty"`       // 自定义参数,为链接打上自定义标签;自定义参数最长限制64个字节;格式为: {"uid":"11111","sid":"22222"} ,其中 uid 用户唯一标识,可自行加密后传入,每个用户仅且对应一个标识,必填; sid 上下文信息标识,例如sessionId等,非必填。该json字符串中也可以加入其他自定义的key
	GenerateSchemaUrl *bool   `protobuf:"varint,4,opt,name=generate_schema_url,json=generateSchemaUrl,proto3,oneof" json:"generate_schema_url,omitempty"` // 是否返回 schema URL
	ItemInfo          *bool   `protobuf:"varint,5,opt,name=itemInfo,proto3,oneof" json:"itemInfo,omitempty"`                                              // 是否返回商品信息 包含商品标题、ID、价格、佣金、优惠券信息
	// contains filtered or unexported fields
}

func (*URLConvertRequest) Descriptor deprecated

func (*URLConvertRequest) Descriptor() ([]byte, []int)

Deprecated: Use URLConvertRequest.ProtoReflect.Descriptor instead.

func (*URLConvertRequest) GetCustomParameters

func (x *URLConvertRequest) GetCustomParameters() string

func (*URLConvertRequest) GetGenerateSchemaUrl

func (x *URLConvertRequest) GetGenerateSchemaUrl() bool

func (*URLConvertRequest) GetItemInfo

func (x *URLConvertRequest) GetItemInfo() bool

func (*URLConvertRequest) GetPid

func (x *URLConvertRequest) GetPid() string

func (*URLConvertRequest) GetSourceUrl

func (x *URLConvertRequest) GetSourceUrl() string

func (*URLConvertRequest) ProtoMessage

func (*URLConvertRequest) ProtoMessage()

func (*URLConvertRequest) ProtoReflect

func (x *URLConvertRequest) ProtoReflect() protoreflect.Message

func (*URLConvertRequest) Reset

func (x *URLConvertRequest) Reset()

func (*URLConvertRequest) String

func (x *URLConvertRequest) String() string

type URLConvertResponse

type URLConvertResponse struct {
	Code int32           `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string          `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data *URLConvertData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*URLConvertResponse) Descriptor deprecated

func (*URLConvertResponse) Descriptor() ([]byte, []int)

Deprecated: Use URLConvertResponse.ProtoReflect.Descriptor instead.

func (*URLConvertResponse) GetCode added in v0.1.3

func (x *URLConvertResponse) GetCode() int32

func (*URLConvertResponse) GetData added in v0.1.3

func (x *URLConvertResponse) GetData() *URLConvertData

func (*URLConvertResponse) GetMsg added in v0.1.3

func (x *URLConvertResponse) GetMsg() string

func (*URLConvertResponse) ProtoMessage

func (*URLConvertResponse) ProtoMessage()

func (*URLConvertResponse) ProtoReflect

func (x *URLConvertResponse) ProtoReflect() protoreflect.Message

func (*URLConvertResponse) Reset

func (x *URLConvertResponse) Reset()

func (*URLConvertResponse) String

func (x *URLConvertResponse) String() string

type URLInfo

type URLInfo struct {
	MobileShortUrl           string     `protobuf:"bytes,1,opt,name=mobile_short_url,json=mobileShortUrl,proto3" json:"mobile_short_url,omitempty"`
	MobileUrl                string     `protobuf:"bytes,2,opt,name=mobile_url,json=mobileUrl,proto3" json:"mobile_url,omitempty"`
	MultiGroupMobileShortUrl string     `` /* 139-byte string literal not displayed */
	MultiGroupMobileUrl      string     `protobuf:"bytes,4,opt,name=multi_group_mobile_url,json=multiGroupMobileUrl,proto3" json:"multi_group_mobile_url,omitempty"`
	MultiGroupShortUrl       string     `protobuf:"bytes,5,opt,name=multi_group_short_url,json=multiGroupShortUrl,proto3" json:"multi_group_short_url,omitempty"`
	MultiGroupUrl            string     `protobuf:"bytes,6,opt,name=multi_group_url,json=multiGroupUrl,proto3" json:"multi_group_url,omitempty"`
	QqAppInfo                *QQAppInfo `protobuf:"bytes,7,opt,name=qq_app_info,json=qqAppInfo,proto3" json:"qq_app_info,omitempty"`
	SchemaUrl                string     `protobuf:"bytes,8,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
	ShortUrl                 string     `protobuf:"bytes,9,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"`
	Url                      string     `protobuf:"bytes,10,opt,name=url,proto3" json:"url,omitempty"`
	WeAppInfo                *WeAppInfo `protobuf:"bytes,11,opt,name=we_app_info,json=weAppInfo,proto3" json:"we_app_info,omitempty"`
	// contains filtered or unexported fields
}

func (*URLInfo) Descriptor deprecated

func (*URLInfo) Descriptor() ([]byte, []int)

Deprecated: Use URLInfo.ProtoReflect.Descriptor instead.

func (*URLInfo) GetMobileShortUrl

func (x *URLInfo) GetMobileShortUrl() string

func (*URLInfo) GetMobileUrl

func (x *URLInfo) GetMobileUrl() string

func (*URLInfo) GetMultiGroupMobileShortUrl

func (x *URLInfo) GetMultiGroupMobileShortUrl() string

func (*URLInfo) GetMultiGroupMobileUrl

func (x *URLInfo) GetMultiGroupMobileUrl() string

func (*URLInfo) GetMultiGroupShortUrl

func (x *URLInfo) GetMultiGroupShortUrl() string

func (*URLInfo) GetMultiGroupUrl

func (x *URLInfo) GetMultiGroupUrl() string

func (*URLInfo) GetQqAppInfo

func (x *URLInfo) GetQqAppInfo() *QQAppInfo

func (*URLInfo) GetSchemaUrl

func (x *URLInfo) GetSchemaUrl() string

func (*URLInfo) GetShortUrl

func (x *URLInfo) GetShortUrl() string

func (*URLInfo) GetUrl

func (x *URLInfo) GetUrl() string

func (*URLInfo) GetWeAppInfo

func (x *URLInfo) GetWeAppInfo() *WeAppInfo

func (*URLInfo) ProtoMessage

func (*URLInfo) ProtoMessage()

func (*URLInfo) ProtoReflect

func (x *URLInfo) ProtoReflect() protoreflect.Message

func (*URLInfo) Reset

func (x *URLInfo) Reset()

func (*URLInfo) String

func (x *URLInfo) String() string

type UnimplementedPddApiServiceServer

type UnimplementedPddApiServiceServer struct {
}

UnimplementedPddApiServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPddApiServiceServer) AuthorityQuery

func (UnimplementedPddApiServiceServer) CreateMarketingURL

func (UnimplementedPddApiServiceServer) GoodsSearch added in v0.1.15

func (UnimplementedPddApiServiceServer) Promotion added in v0.1.17

func (UnimplementedPddApiServiceServer) URLConvert

type UnsafePddApiServiceServer

type UnsafePddApiServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePddApiServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PddApiServiceServer will result in compilation errors.

type WeAppInfo

type WeAppInfo struct {
	AppId             string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	BannerUrl         string `protobuf:"bytes,2,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url,omitempty"`
	Desc              string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	PagePath          string `protobuf:"bytes,4,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
	WeAppIconUrl      string `protobuf:"bytes,5,opt,name=we_app_icon_url,json=weAppIconUrl,proto3" json:"we_app_icon_url,omitempty"`
	SourceDisplayName string `protobuf:"bytes,6,opt,name=source_display_name,json=sourceDisplayName,proto3" json:"source_display_name,omitempty"`
	Title             string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	UserName          string `protobuf:"bytes,8,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*WeAppInfo) Descriptor deprecated

func (*WeAppInfo) Descriptor() ([]byte, []int)

Deprecated: Use WeAppInfo.ProtoReflect.Descriptor instead.

func (*WeAppInfo) GetAppId

func (x *WeAppInfo) GetAppId() string

func (*WeAppInfo) GetBannerUrl

func (x *WeAppInfo) GetBannerUrl() string

func (*WeAppInfo) GetDesc

func (x *WeAppInfo) GetDesc() string

func (*WeAppInfo) GetPagePath

func (x *WeAppInfo) GetPagePath() string

func (*WeAppInfo) GetSourceDisplayName

func (x *WeAppInfo) GetSourceDisplayName() string

func (*WeAppInfo) GetTitle

func (x *WeAppInfo) GetTitle() string

func (*WeAppInfo) GetUserName

func (x *WeAppInfo) GetUserName() string

func (*WeAppInfo) GetWeAppIconUrl

func (x *WeAppInfo) GetWeAppIconUrl() string

func (*WeAppInfo) ProtoMessage

func (*WeAppInfo) ProtoMessage()

func (*WeAppInfo) ProtoReflect

func (x *WeAppInfo) ProtoReflect() protoreflect.Message

func (*WeAppInfo) Reset

func (x *WeAppInfo) Reset()

func (*WeAppInfo) String

func (x *WeAppInfo) String() string

Jump to

Keyboard shortcuts

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