shop

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package shop 店铺相关

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvertiserListRequest

type AdvertiserListRequest struct {
	// ShopID 店铺id
	ShopID uint64 `json:"shop_id,omitempty"`
	// Page 页码.默认值: 1
	Page int `json:"page,omitempty"`
	// PageSize 页面数据量.默认值: 10, 最大值:100
	PageSize int `json:"page_size,omitempty"`
}

AdvertiserListRequest 获取店铺账户关联的广告账户列表

func (AdvertiserListRequest) Encode

func (r AdvertiserListRequest) Encode() string

Encode implement GetRequest interface

type AdvertiserListResponse

type AdvertiserListResponse struct {
	model.BaseResponse
	// Data json返回值
	Data *AdvertiserListResponseData `json:"data,omitempty"`
}

AdvertiserListResponse 获取店铺账户关联的广告账户列表 API Response

type AdvertiserListResponseData

type AdvertiserListResponseData struct {
	// PageInfo 分页信息
	PageInfo model.PageInfo `json:"page_info,omitempty"`
	// List 千川广告主账户ID列表
	List []uint64 `json:"list,omitempty"`
}

AdvertiserListResponseData json返回值

type AuthorizedGetRequest added in v1.19.5

type AuthorizedGetRequest struct {
	// AdvertiserID 千川广告主账户id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// Page 页码, 默认值: 1
	Page int `json:"page,omitempty"`
	// PageSize 页面大小
	// 默认值:10,最大值:100
	PageSize int `json:"page_size,omitempty"`
}

AuthorizedGetRequest 获取广告主绑定的店铺列表 API Request

func (AuthorizedGetRequest) Encode added in v1.19.5

func (r AuthorizedGetRequest) Encode() string

Encode implement GetRequest interface

type AuthorizedGetResponse added in v1.19.5

type AuthorizedGetResponse struct {
	model.BaseResponse
	// Data json返回值
	Data *AuthorizedGetResult `json:"data,omitempty"`
}

AuthorizedGetResponse 获取广告主绑定的店铺列表 API Response

type AuthorizedGetResult added in v1.19.5

type AuthorizedGetResult struct {
	// ShopList shop账号列表
	ShopList []Shop `json:"shop_list,omitempty"`
	// PageInfo 分页信息
	PageInfo *model.PageInfo `json:"page_info,omitempty"`
}

type GetRequest

type GetRequest struct {
	// ShopIDs 店铺id
	ShopIDs []uint64 `json:"shop_ids,omitempty"`
}

GetRequest 获取店铺账户信息 API Request

func (GetRequest) Encode

func (r GetRequest) Encode() string

Encode implement GetRequest interface

type GetResponse

type GetResponse struct {
	model.BaseResponse
	// Data json返回值
	Data struct {
		// List shop账号列表
		List []Shop `json:"list,omitempty"`
	} `json:"data,omitempty"`
}

GetResponse 获取店铺账户信息 API Response

type Shop

type Shop struct {
	// ShopID 店铺id
	ShopID uint64 `json:"shop_id,omitempty"`
	// ShopName 店铺名称
	ShopName string `json:"shop_name,omitempty"`
}

Shop shop账号

Jump to

Keyboard shortcuts

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