Documentation ¶
Index ¶
- type Client
- func (comp *Client) AddGroupGuide(groupID int, guideAccount string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) AllowCopyMiniAppPath(wxaAppID string, wxUsername string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateAdviser(guideAccount string, guideOpenID string, guideHeadImgURL string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateBuyerRelation(guideAccount string, guideOpenID string, buyerList *request.BuyerList) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) CreateCardMaterial(mediaID string, title string, path string, appID string, mType int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateGroup(groupName string) (*response.ResponseGuideCreateGroup, error)
- func (comp *Client) CreateImageMaterial(mediaID string, mType int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateQrCode(guideAccount string, guideOpenID string, qrCodeInfo string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateTagOption(tagName string, tagValues []string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateWordMaterial(mType int, word string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteAdviser(guideAccount string, guideOpenID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteBuyerRelation(guideAccount string, guideOpenID string, openIDList []string) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) DeleteBuyerTag(guideAccount string, guideOpenID string, tagValue string, openIDList []string) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) DeleteCardMaterial(title string, path string, appID string, mType int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteGroup(groupID int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteGroupGuide(groupID int, guideAccount string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteImageMaterial(mType int, picURL string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteTagOption(tagName string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteWordMaterial(mType int, word string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) GetAdviser(guideAccount string, guideOpenID string) (*response.ResponseGuideGetAdviser, error)
- func (comp *Client) GetAdviserConfig() (*response.ResponseGuideGetAdviserConfig, error)
- func (comp *Client) GetAdvisers(guideAccount string, guideOpenID string) (*response.ResponseGuideGetAdvisers, error)
- func (comp *Client) GetBuyerByTag(guideAccount string, guideOpenID string, pushCount int, tagValues []string) (*response.ResponseGuideGetBuyerByTag, error)
- func (comp *Client) GetBuyerChatRecords(guideAccount string, guideOpenID string, openID string, beginTime string, ...) (*response.ResponseGuideGetChatRecords, error)
- func (comp *Client) GetBuyerDisplayTags(guideAccount string, guideOpenID string, openID string) (*response.ResponseGuideGetBuyerDisplayTags, error)
- func (comp *Client) GetBuyerRelation(openID string) (*response.ResponseGuideGetBuyerRelation, error)
- func (comp *Client) GetBuyerRelationByGuide(guideAccount string, guideOpenID string, openID string) (*response.ResponseGuideGetBuyerRelation, error)
- func (comp *Client) GetBuyerRelations(guideAccount string, guideOpenID string, page int, num int) (*response.ResponseGuideBuyerRelationList, error)
- func (comp *Client) GetBuyerTags(guideAccount string, guideOpenID string, openIDList []string, tagValue string) (*response.ResponseGuideGetBuyerTags, error)
- func (comp *Client) GetCardMaterial(mType int) (*response.ResponseGuideGetCardMaterial, error)
- func (comp *Client) GetConfig(guideAccount string, guideOpenID string) (*response.ResponseGuideGetConfig, error)
- func (comp *Client) GetGroups(groupName string) (*response.ResponseGuideGetGroups, error)
- func (comp *Client) GetGuideGroup(guideAccount string) (*response.ResponseGuideGetGuideGroup, error)
- func (comp *Client) GetGuideGroups() (*response.ResponseGuideGetGroupList, error)
- func (comp *Client) GetImageMaterial(mType int) (*response.ResponseGuideGetImageMaterial, error)
- func (comp *Client) GetTagOption(tagName string, tagValues []string) (*response.ResponseGuideTagOption, error)
- func (comp *Client) GetWordMaterial(mType int, start int, num int) (*response.ResponseGuideGetWordMaterial, error)
- func (comp *Client) NewTagOption(tagName string, tagValues []string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) RebindBuyerGuide(oldGuideTarget string, newGuideTarget string, openidList []string, ...) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) SelectAccountAndOpenID(params *object.HashMap, guideAccount string, guideOpenID string) (*object.HashMap, error)
- func (comp *Client) SetAdviserConfig(guideAccount string, guideOpenID string, isDelete bool, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) SetBuyerDisplayTags(guideAccount string, guideOpenID string, openID string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) SetBuyersTag(guideAccount string, guideOpenID string, openIDList []string, tagValue string) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) SetConfig(guideAccount string, guideOpenID string, isDelete bool, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) UpdateAdviser(guideAccount string, guideOpenID string, guideHeadImgURL string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) UpdateBuyerRelation(guideAccount string, guideOpenID string, openID string, nickName string) (*response2.ResponseOfficialAccount, error)
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) AddGroupGuide ¶
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 (*Client) CreateBuyerRelation ¶
func (*Client) CreateCardMaterial ¶
func (*Client) CreateGroup ¶
func (comp *Client) CreateGroup(groupName string) (*response.ResponseGuideCreateGroup, error)
func (*Client) CreateImageMaterial ¶
func (*Client) CreateQrCode ¶
func (*Client) CreateTagOption ¶
func (*Client) CreateWordMaterial ¶
func (*Client) DeleteAdviser ¶
func (*Client) DeleteBuyerRelation ¶
func (*Client) DeleteBuyerTag ¶
func (*Client) DeleteCardMaterial ¶
func (*Client) DeleteGroup ¶
func (comp *Client) DeleteGroup(groupID int) (*response2.ResponseOfficialAccount, error)
func (*Client) DeleteGroupGuide ¶
func (*Client) DeleteImageMaterial ¶
func (*Client) DeleteTagOption ¶
func (comp *Client) DeleteTagOption(tagName string) (*response2.ResponseOfficialAccount, error)
func (*Client) DeleteWordMaterial ¶
func (*Client) GetAdviser ¶
func (*Client) GetAdviserConfig ¶
func (comp *Client) GetAdviserConfig() (*response.ResponseGuideGetAdviserConfig, error)
获取离线自动回复与敏感词 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideAcctConfig.html
func (*Client) GetAdvisers ¶
func (*Client) GetBuyerByTag ¶
func (*Client) GetBuyerChatRecords ¶
func (*Client) GetBuyerDisplayTags ¶
func (*Client) GetBuyerRelation ¶
func (comp *Client) GetBuyerRelation(openID string) (*response.ResponseGuideGetBuyerRelation, error)
func (*Client) GetBuyerRelationByGuide ¶
func (*Client) GetBuyerRelations ¶
func (*Client) GetBuyerTags ¶
func (*Client) GetCardMaterial ¶
func (comp *Client) GetCardMaterial(mType int) (*response.ResponseGuideGetCardMaterial, error)
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) GetGuideGroup ¶
func (comp *Client) GetGuideGroup(guideAccount string) (*response.ResponseGuideGetGuideGroup, error)
func (*Client) GetGuideGroups ¶
func (comp *Client) GetGuideGroups() (*response.ResponseGuideGetGroupList, error)
获取服务号下所有顾问分组的列表 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideGroupList.html
func (*Client) GetImageMaterial ¶
func (comp *Client) GetImageMaterial(mType int) (*response.ResponseGuideGetImageMaterial, error)
func (*Client) GetTagOption ¶
func (*Client) GetWordMaterial ¶
func (*Client) NewTagOption ¶
func (*Client) RebindBuyerGuide ¶
func (*Client) SelectAccountAndOpenID ¶
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 (*Client) SetBuyersTag ¶
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