addatasource

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdDataSourceRequest

type AdDataSourceRequest struct {
	/**
	 * 外卖广告产品类型,1表示点金推广
	 */
	Channel int32 `json:"channel"`
	/**
	 * 查询的历史天数,不能大于30天
	 */
	Days int32 `json:"days"`
	/**
	 * 查询的日期,不能早于T-31
	 */
	Date int32 `json:"date"`
}

func (*AdDataSourceRequest) DoInvoke

type AdDataSourceResponse

type AdDataSourceResponse struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	Data    Data   `json:"data"`
	TraceId string `json:"traceId"`
}

func (*AdDataSourceResponse) IsSuccess

func (response *AdDataSourceResponse) IsSuccess() bool

type ChannelPageList

type ChannelPageList struct {
	Pos          int64   `json:"pos"`
	Click        string  `json:"click"`
	Debit        string  `json:"debit"`
	AvgPrice     int64   `json:"avgPrice"`
	DebitPercent float64 `json:"debitPercent"`
}

type Data

type Data struct {
	Result          Result            `json:"result"`
	HomePageList    []HomePageList    `json:"homePageList"`
	ChannelPageList []ChannelPageList `json:"channelPageList"`
	SearchPageList  []SearchPageList  `json:"searchPageList"`
}

type HomePageList

type HomePageList struct {
	Pos          int64   `json:"pos"`
	Click        string  `json:"click"`
	Debit        string  `json:"debit"`
	AvgPrice     int64   `json:"avgPrice"`
	DebitPercent float64 `json:"debitPercent"`
}

type Result

type Result struct {
	Success bool   `json:"success"`
	Code    string `json:"code"`
	Message string `json:"message"`
}

type SearchPageList

type SearchPageList struct {
	Pos          int64   `json:"pos"`
	Click        string  `json:"click"`
	Debit        string  `json:"debit"`
	AvgPrice     int64   `json:"avgPrice"`
	DebitPercent float64 `json:"debitPercent"`
}

Jump to

Keyboard shortcuts

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