guide

package
v2.0.1-beta32 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 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 {
	*kernel.BaseClient
}

func RegisterProvider

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

func (*Client) AllowCopyMiniAppPath

func (comp *Client) AllowCopyMiniAppPath(wxaAppID string, wxUsername string) (*response2.ResponseOfficialAccount, error)

允许微信用户复制小程序页面路径 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.pushShowWxaPathMenu.html

func (*Client) CreateAdviser

func (comp *Client) CreateAdviser(guideAccount string, guideOpenID string, guideHeadImgURL string, guideNickname string) (*response2.ResponseOfficialAccount, error)

为服务号添加顾问 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.addGuideAcct.html

func (*Client) GetBuyerByTag

func (comp *Client) GetBuyerByTag(guideAccount string, guideOpenID string, pushCount int, tagValues []string) (*response.ResponseGuideGetBuyerByTag, error)

根据标签值筛选客户 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.queryGuideBuyerByTag.html

func (*Client) GetConfig

func (comp *Client) GetConfig(guideAccount string, guideOpenID string) (*response.ResponseGuideGetConfig, error)

获取快捷回复与关注自动回复 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideConfig.html

func (*Client) GetGroups

func (comp *Client) GetGroups(groupName string) (*response.ResponseGuideGetGroups, error)

获取指定顾问分组信息,以及分组内顾问信息 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGroupInfo.html

func (*Client) RebindBuyerGuide

func (comp *Client) RebindBuyerGuide(oldGuideTarget string, newGuideTarget string, openidList []string, useTargetOpenID bool) (*response.ResponseGuideBuyerRelation, error)

为客户更换顾问 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.rebindGuideAcctForBuyer.html

func (*Client) SelectAccountAndOpenID

func (comp *Client) SelectAccountAndOpenID(params *object.HashMap, guideAccount string, guideOpenID string) (*object.HashMap, error)

func (*Client) SetAdviserConfig

func (comp *Client) SetAdviserConfig(guideAccount string, guideOpenID string, isDelete bool,
	blackKeyword *request.BlackKeyword, guideAutoReply *request.AutoReply) (*response2.ResponseOfficialAccount, error)

设置离线自动回复与敏感词 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.setGuideConfig.html

func (*Client) SetBuyerDisplayTags

func (comp *Client) SetBuyerDisplayTags(guideAccount string, guideOpenID string, openID string, displayTagList []string) (*response2.ResponseOfficialAccount, error)

设置自定义客户信息 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.addGuideBuyerDisplayTag.html

func (*Client) SetBuyersTag

func (comp *Client) SetBuyersTag(guideAccount string, guideOpenID string, openIDList []string, tagValue string) (*response.ResponseGuideBuyerRelation, error)

为客户设置标签 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.addGuideBuyerTag.html

func (*Client) SetConfig

func (comp *Client) SetConfig(guideAccount string, guideOpenID string, isDelete bool,
	fastReplyListArray *request.FastReplyList, guideAutoReply *request.AutoReply, guideAutoReplyPlus *request.AutoReply) (*response2.ResponseOfficialAccount, error)

设置快捷回复与关注自动回复 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.setGuideConfig.html

func (*Client) UpdateAdviser

func (comp *Client) UpdateAdviser(guideAccount string, guideOpenID string, guideHeadImgURL string, guideNickname string) (*response2.ResponseOfficialAccount, error)

修改顾问的昵称或头像 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.updateGuideAcct.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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