search

package
v3.2.58 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseClient *kernel.BaseClient
}

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) ImageSearch

func (comp *Client) ImageSearch(ctx context.Context, img []*power.HashMap) (*response.ResponseSearchImageSearch, error)

本接口提供基于小程序的站内搜商品图片搜索能力 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/search/search.imageSearch.html

func (*Client) SiteSearch

func (comp *Client) SiteSearch(ctx context.Context, keyword string, nextPageInfo string) (*response.ResponseSearchSiteSearch, error)

小程序内部搜索API提供针对页面的查询能力 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/search/search.siteSearch.html

func (*Client) SubmitPages

func (comp *Client) SubmitPages(ctx context.Context, pages []*power.HashMap) (*response2.ResponseMiniProgram, error)

小程序开发者可以通过本接口提交小程序页面url及参数信息(不要推送webview页面) https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/search/search.submitPages.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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