shop

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 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 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 {
	// ID 店铺id
	ID uint64 `json:"shop_id,omitempty"`
	// Name 店铺名称
	Name 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