eco

package
v1.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BizStreamFetch

func BizStreamFetch(req *BizStreamFetchRequest) ([]map[string]interface{}, error)

数据数据开放接口

Types

type BizStreamFetchRequest

type BizStreamFetchRequest struct {
	api.BaseRequest
	ServiceId   string `json:"serviceId" codec:"serviceId"`
	TimeMin     string `json:"timeMin,omitempty" codec:"timeMin,omitempty"`
	TimeMax     string `json:"timeMax,omitempty" codec:"timeMax,omitempty"`
	Time        string `json:"TIME,omitempty" codec:"TIME,omitempty"`
	Timestamp   string `json:"TIMESTAMP,omitempty" codec:"TIMESTAMP,omitempty"`
	AdProStat   string `json:"ADPROSTAT,omitempty" codec:"ADPROSTAT,omitempty"`
	AdProId     string `json:"ADPROID,omitempty" codec:"ADPROID,omitempty"`
	Sku         string `json:"SKU,omitempty" codec:"SKU,omitempty"`
	AdType      string `json:"ADTYPE,omitempty" codec:"ADTYPE,omitempty"`
	ActEffectId string `json:"ACTEFFECTID,omitempty" codec:"ACTEFFECTID,omitempty"`
	TicketType  string `json:"TICKETTYPE,omitempty" codec:"TICKETTYPE,omitempty"`
}

type BizStreamFetchResponse

type BizStreamFetchResponse struct {
	ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Res       *Response           `json:"jingdong_eco_data_biz_stream_fetch_responce,omitempty" codec:"jingdong_eco_data_biz_stream_fetch_responce,omitempty"`
}

type Meta

type Meta struct {
	MetaIndex map[string]int `json:"metaIndex" codec:"metaIndex"`
}

type Response

type Response struct {
	Code string      `json:"code,omitempty" codec:"code,omitempty"`
	RT   *ReturnType `json:"returnType,omitempty" codec:"returnType,omitempty"`
}

type ReturnType

type ReturnType struct {
	Code string `json:"code,omitempty" codec:"code,omitempty"`
	Desc string `json:"desc,omitempty" codec:"desc,omitempty"`
	Data string `json:"data,omitempty" codec:"data,omitempty"`
}

type ReturnTypeData

type ReturnTypeData struct {
	Header *ReturnTypeDataHeader `json:"header,omitempty" codec:"header,omitempty"`
	Body   *ReturnTypeDataBody   `json:"body,omitempty" codec:"body,omitempty"`
}

type ReturnTypeDataBody

type ReturnTypeDataBody struct {
	Data [][]string `json:"data,omitempty" codec:"code,omitempty"`
	Size uint       `json:"size,omitempty" codec:"code,omitempty"`
	Meta *Meta      `json:"meta,omitempty" codec:"code,omitempty"`
}

type ReturnTypeDataHeader

type ReturnTypeDataHeader struct {
	Code       string `json:"code,omitempty" codec:"code,omitempty"`
	DataStatus string `json:"dataStatus,omitempty" codec:"dataStatus,omitempty"`
	Desc       string `json:"desc,omitempty" codec:"desc,omitempty"`
}

Jump to

Keyboard shortcuts

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