Documentation ¶
Index ¶
- type Client
- func (comp *Client) ImageSearch(ctx context.Context, img []*power.HashMap) (*response.ResponseSearchImageSearch, error)
- func (comp *Client) SiteSearch(ctx context.Context, keyword string, nextPageInfo string) (*response.ResponseSearchSiteSearch, error)
- func (comp *Client) SubmitPages(ctx context.Context, pages []*power.HashMap) (*response2.ResponseMiniProgram, error)
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
Click to show internal directories.
Click to hide internal directories.