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