homepage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSetParameters1

func NewSetParameters1(shopId int64) interface{}

默认模板

func NewSetParameters2

func NewSetParameters2(shopId int64, url string) interface{}

自定义url

func Set

func Set(clt *core.Client, para interface{}) (err error)

设置商家主页

要求 para 经过 encoding/json 后满足指定的格式要求

Types

type Homepage

type Homepage struct {
	ShopId     int64  `json:"shop_id"`     // 门店ID
	TemplateId int64  `json:"template_id"` // 模板类型
	URL        string `json:"url"`         // 商家主页链接
}

func Get

func Get(clt *core.Client, shopId int64) (homepage *Homepage, err error)

Jump to

Keyboard shortcuts

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