poi

package
v1.28.4 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package poi 门店相关

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiPoi

type MultiPoi struct {
	// MultiPoiID 多门店id
	MultiPoiID uint64 `json:"multi_poi_id,omitempty"`
	// PoiIDs 门店id列表
	PoiIDs []uint64 `json:"poi_ids,omitempty"`
}

MultiPoi 多门店信息

type MultiPoiIDsGetRequest

type MultiPoiIDsGetRequest struct {
	// LocalAccountID 本地推广告主ID
	LocalAccountID uint64 `json:"local_account_id,omitempty"`
	// MultiPoiIDs 多门店id,可通过【获取项目详情】接口获取项目推广的多门店ID
	// 数量上限:50
	MultiPoiIDs []uint64 `json:"multi_poi_ids,omitempty"`
	// NeedEnable 是否仅查询当前在投门店,即过滤不在投放中的门店(可能存在部分门店,因门店已下线/门店下无团购/被全域推广转移,被从计划中剔除,不在投放中),允许值:
	// true 仅查询在投放中的门店
	// false查询多门店ID对应的所有门店(默认值)
	NeedEnable bool `json:"need_enable,omitempty"`
}

MultiPoiIDsGetRequest 根据多门店ID拉取门店ID API Request

func (MultiPoiIDsGetRequest) Encode

func (r MultiPoiIDsGetRequest) Encode() string

Encode implements GetRequest interface

type MultiPoiIDsGetResponse

type MultiPoiIDsGetResponse struct {
	model.BaseResponse
	Data *MultiPoiIDsGetResult `json:"data,omitempty"`
}

MultiPoiIDsGetResponse 根据多门店ID拉取门店ID API Response

type MultiPoiIDsGetResult

type MultiPoiIDsGetResult struct {
	// PageInfo 分页信息
	PageInfo *model.PageInfo `json:"page_info,omitempty"`
	// MultiPoiInfo 多门店信息
	MultiPoiInfo []MultiPoi `json:"multi_poi_info,omitempty"`
}

Jump to

Keyboard shortcuts

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