Documentation ¶
Index ¶
- type Client
- func (comp *Client) GetAppShareInfo(agentID int) (*response.ResponseCorpGroupListAPPShareInfo, error)
- func (comp *Client) GetMiniProgramTransferSession(userID string, sessionKey string) (*response.ResponseCorpGroupTransferSession, error)
- func (comp *Client) GetToken(corpID string, agentID string) (*response.ResponseCorpGroupGetToken, 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) GetAppShareInfo ¶
func (comp *Client) GetAppShareInfo(agentID int) (*response.ResponseCorpGroupListAPPShareInfo, error)
获取应用共享信息 https://developer.work.weixin.qq.com/document/path/93403
func (*Client) GetMiniProgramTransferSession ¶
func (comp *Client) GetMiniProgramTransferSession(userID string, sessionKey string) (*response.ResponseCorpGroupTransferSession, error)
获取下级企业的小程序session https://developer.work.weixin.qq.com/document/path/93355
func (*Client) GetToken ¶
func (comp *Client) GetToken(corpID string, agentID string) (*response.ResponseCorpGroupGetToken, error)
获取下级企业的access_token https://developer.work.weixin.qq.com/document/path/93359
Click to show internal directories.
Click to hide internal directories.