delivery

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KuaicheDeliveryListV2Request

type KuaicheDeliveryListV2Request struct {
	Request *sdk.Request
}

func NewKuaicheDeliveryListV2Request

func NewKuaicheDeliveryListV2Request() (req *KuaicheDeliveryListV2Request)

create new request

func (*KuaicheDeliveryListV2Request) GetData

func (*KuaicheDeliveryListV2Request) GetSystem

func (*KuaicheDeliveryListV2Request) SetData

func (*KuaicheDeliveryListV2Request) SetSystem

type KuaicheDeliveryListV2RequestData

type KuaicheDeliveryListV2RequestData struct {
	CampaignType        uint   `json:"campaignType,omitempty"`        // 计划类型,2:商品计划,41:门店商品计划,空为全部商品计划
	ClickOrOrderDay     uint   `json:"clickOrOrderDay"`               // 转化周期,0:当天,1:1天,3:3天,7:7天,15:15天,30:30天
	ClickOrOrderCaliber uint   `json:"clickOrOrderCaliber"`           // 点击口径:0 订单口径:1
	GiftFlag            uint   `json:"giftFlag"`                      // 包含赠品 0不含赠品 1含赠品
	OrderStatusCategory uint   `json:"orderStatusCategory,omitempty"` // 订单类型 空:全部订单 1:成交订单
	StartDay            string `json:"startDay"`                      // 开始时间
	EndDay              string `json:"endDay"`                        // 结束时间
	Page                int    `json:"page"`                          // 页码
	PageSize            int    `json:"pageSize,omitempty"`            // 每页条数
	Platform            string `json:"platform,omitempty"`            // 设备类型 空:全部 0 pc 1 无线
	CampaignId          uint64 `json:"campaignId,omitempty"`          // 计划id
	GroupId             uint64 `json:"groupId,omitempty"`             // 单元id
}

type KuaicheDeliveryUpdateProductPriceRequest

type KuaicheDeliveryUpdateProductPriceRequest struct {
	Request *sdk.Request
}

func NewKuaicheDeliveryUpdateProductPriceRequest

func NewKuaicheDeliveryUpdateProductPriceRequest() (req *KuaicheDeliveryUpdateProductPriceRequest)

create new request

func (*KuaicheDeliveryUpdateProductPriceRequest) GetData

func (*KuaicheDeliveryUpdateProductPriceRequest) GetSystem

func (*KuaicheDeliveryUpdateProductPriceRequest) SetData

func (*KuaicheDeliveryUpdateProductPriceRequest) SetSystem

type KuaicheDeliveryUpdateProductPriceRequestData

type KuaicheDeliveryUpdateProductPriceRequestData struct {
	Ids       []uint64                                        `json:"ids"`       // 商品定向id
	PrictList []KuaicheDeliveryUpdateProductPriceRequestPrice `json:"priceList"` // 调价信息(列表数量上限为2),包含无线和pc出价,若不填写无线出价则根据无线出价系数进行换算(pc无线出价已做合并)
}

type KuaicheDeliveryUpdateProductPriceRequestPrice

type KuaicheDeliveryUpdateProductPriceRequestPrice struct {
	DevType uint    `json:"devType"` // 出价类型 1:pc出价 2:无线出价
	Number  float64 `json:"number"`  // 具体值 出价范围0.1-9999,若是百分比则为0-500
	Change  uint    `json:"change"`  // 出价幅度 0:对应type自定义类型 1:提高 2:降低
	Type    uint    `json:"type"`    // 改价类型,1:自定义类型 2:提高/降低出价幅度 3:提供/降低百分比
}

Jump to

Keyboard shortcuts

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