search

package
v2.0.2-beta03 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient
}

func RegisterProvider

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

func (*Client) ImageSearch

func (comp *Client) ImageSearch(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(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(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