Documentation ¶
Index ¶
- type Client
- func (comp *Client) AddGroupGuide(ctx context.Context, groupID int, guideAccount string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) AllowCopyMiniAppPath(ctx context.Context, wxaAppID string, wxUsername string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateAdviser(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateBuyerRelation(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) CreateCardMaterial(ctx context.Context, mediaID string, title string, path string, appID string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateGroup(ctx context.Context, groupName string) (*response.ResponseGuideCreateGroup, error)
- func (comp *Client) CreateImageMaterial(ctx context.Context, mediaID string, mType int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateQrCode(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateTagOption(ctx context.Context, tagName string, tagValues []string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) CreateWordMaterial(ctx context.Context, mType int, word string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteAdviser(ctx context.Context, guideAccount string, guideOpenID string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteBuyerRelation(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) DeleteBuyerTag(ctx context.Context, guideAccount string, guideOpenID string, tagValue string, ...) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) DeleteCardMaterial(ctx context.Context, title string, path string, appID string, mType int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteGroup(ctx context.Context, groupID int) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteGroupGuide(ctx context.Context, groupID int, guideAccount string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteImageMaterial(ctx context.Context, mType int, picURL string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteTagOption(ctx context.Context, tagName string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) DeleteWordMaterial(ctx context.Context, mType int, word string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) GetAdviser(ctx context.Context, guideAccount string, guideOpenID string) (*response.ResponseGuideGetAdviser, error)
- func (comp *Client) GetAdviserConfig(ctx context.Context) (*response.ResponseGuideGetAdviserConfig, error)
- func (comp *Client) GetAdvisers(ctx context.Context, guideAccount string, guideOpenID string) (*response.ResponseGuideGetAdvisers, error)
- func (comp *Client) GetBuyerByTag(ctx context.Context, guideAccount string, guideOpenID string, pushCount int, ...) (*response.ResponseGuideGetBuyerByTag, error)
- func (comp *Client) GetBuyerChatRecords(ctx context.Context, guideAccount string, guideOpenID string, openID string, ...) (*response.ResponseGuideGetChatRecords, error)
- func (comp *Client) GetBuyerDisplayTags(ctx context.Context, guideAccount string, guideOpenID string, openID string) (*response.ResponseGuideGetBuyerDisplayTags, error)
- func (comp *Client) GetBuyerRelation(ctx context.Context, openID string) (*response.ResponseGuideGetBuyerRelation, error)
- func (comp *Client) GetBuyerRelationByGuide(ctx context.Context, guideAccount string, guideOpenID string, openID string) (*response.ResponseGuideGetBuyerRelation, error)
- func (comp *Client) GetBuyerRelations(ctx context.Context, guideAccount string, guideOpenID string, page int, ...) (*response.ResponseGuideBuyerRelationList, error)
- func (comp *Client) GetBuyerTags(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response.ResponseGuideGetBuyerTags, error)
- func (comp *Client) GetCardMaterial(ctx context.Context, mType int) (*response.ResponseGuideGetCardMaterial, error)
- func (comp *Client) GetConfig(ctx context.Context, guideAccount string, guideOpenID string) (*response.ResponseGuideGetConfig, error)
- func (comp *Client) GetGroups(ctx context.Context, groupName string) (*response.ResponseGuideGetGroups, error)
- func (comp *Client) GetGuideGroup(ctx context.Context, guideAccount string) (*response.ResponseGuideGetGuideGroup, error)
- func (comp *Client) GetGuideGroups(ctx context.Context) (*response.ResponseGuideGetGroupList, error)
- func (comp *Client) GetImageMaterial(ctx context.Context, mType int) (*response.ResponseGuideGetImageMaterial, error)
- func (comp *Client) GetTagOption(ctx context.Context, tagName string, tagValues []string) (*response.ResponseGuideTagOption, error)
- func (comp *Client) GetWordMaterial(ctx context.Context, mType int, start int, num int) (*response.ResponseGuideGetWordMaterial, error)
- func (comp *Client) NewTagOption(ctx context.Context, tagName string, tagValues []string) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) RebindBuyerGuide(ctx context.Context, oldGuideTarget string, newGuideTarget string, ...) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) SelectAccountAndOpenID(ctx context.Context, params *object.HashMap, guideAccount string, ...) (*object.HashMap, error)
- func (comp *Client) SetAdviserConfig(ctx context.Context, guideAccount string, guideOpenID string, isDelete bool, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) SetBuyerDisplayTags(ctx context.Context, guideAccount string, guideOpenID string, openID string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) SetBuyersTag(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response.ResponseGuideBuyerRelation, error)
- func (comp *Client) SetConfig(ctx context.Context, guideAccount string, guideOpenID string, isDelete bool, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) UpdateAdviser(ctx context.Context, guideAccount string, guideOpenID string, ...) (*response2.ResponseOfficialAccount, error)
- func (comp *Client) UpdateBuyerRelation(ctx context.Context, guideAccount string, guideOpenID string, openID 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 {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) AddGroupGuide ¶
func (*Client) AllowCopyMiniAppPath ¶
func (comp *Client) AllowCopyMiniAppPath(ctx context.Context, 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 (*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 (*Client) DeleteGroupGuide ¶
func (*Client) DeleteImageMaterial ¶
func (*Client) DeleteTagOption ¶
func (*Client) DeleteWordMaterial ¶
func (*Client) GetAdviser ¶
func (*Client) GetAdviserConfig ¶
func (comp *Client) GetAdviserConfig(ctx context.Context) (*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 (*Client) GetBuyerRelationByGuide ¶
func (*Client) GetBuyerRelations ¶
func (*Client) GetBuyerTags ¶
func (*Client) GetCardMaterial ¶
func (*Client) GetConfig ¶
func (comp *Client) GetConfig(ctx context.Context, 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(ctx context.Context, groupName string) (*response.ResponseGuideGetGroups, error)
获取指定顾问分组信息,以及分组内顾问信息 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGroupInfo.html
func (*Client) GetGuideGroup ¶
func (*Client) GetGuideGroups ¶
func (comp *Client) GetGuideGroups(ctx context.Context) (*response.ResponseGuideGetGroupList, error)
获取服务号下所有顾问分组的列表 https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideGroupList.html
func (*Client) GetImageMaterial ¶
func (*Client) GetTagOption ¶
func (*Client) GetWordMaterial ¶
func (*Client) NewTagOption ¶
func (*Client) RebindBuyerGuide ¶
func (*Client) SelectAccountAndOpenID ¶
func (*Client) SetAdviserConfig ¶
func (comp *Client) SetAdviserConfig(ctx context.Context, 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(ctx context.Context, 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