area

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreaQueryV2

func AreaQueryV2(ctx context.Context, req *AreaQueryV2Request) (string, error)

Types

type AreaQueryV2Request

type AreaQueryV2Request struct {
	api.BaseRequest
	System *requestDsp.JdDspPlatformGatewayApiVoParamExt `json:"system,omitempty" codec:"system,omitempty"` // 系统参数
}

获取地域字典

type AreaQueryV2Responce

type AreaQueryV2Responce struct {
	Data *AreaQueryV2ResponseData `json:"data,omitempty" codec:"data,omitempty"`
	Code string                   `json:"code,omitempty" codec:"code,omitempty"`
}

func (AreaQueryV2Responce) Error added in v1.1.1

func (r AreaQueryV2Responce) Error() string

func (AreaQueryV2Responce) IsError added in v1.1.1

func (r AreaQueryV2Responce) IsError() bool

type AreaQueryV2Response

type AreaQueryV2Response struct {
	Responce  *AreaQueryV2Responce `json:"jingdong_ads_dsp_rtb_area_query_v2_responce,omitempty" codec:"jingdong_ads_dsp_rtb_area_query_v2_responce,omitempty"`
	ErrorResp *api.ErrorResponnse  `json:"error_response,omitempty" codec:"error_response,omitempty"`
}

func (AreaQueryV2Response) Error added in v1.1.1

func (r AreaQueryV2Response) Error() string

func (AreaQueryV2Response) IsError added in v1.1.1

func (r AreaQueryV2Response) IsError() bool

type AreaQueryV2ResponseData

type AreaQueryV2ResponseData struct {
	Data string `json:"data,omitempty" codec:"data,omitempty"`
	dsp.DataCommonResponse
}

Jump to

Keyboard shortcuts

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