corpgroup

package
v0.0.0-...-4a54426 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChainGroup

func GetChainGroup(chainID string, result *ResultChainGroup) wx.Action

GetChainGroup 获取上下游通讯录分组

func GetCorpAccessToken

func GetCorpAccessToken(params *ParamsCorpAccessToken, result *ResultCorpAccessToken) wx.Action

GetCorpAccessToken 获取下级/下游企业的access_token

func ListAppShareInfo

func ListAppShareInfo(params *ParamsAppShareInfoList, result *ResultAppShareInfoList) wx.Action

ListAppShareInfo 获取应用共享信息

func ListChain

func ListChain(result *ResultChainList) wx.Action

ListChain 获取上下游列表

func ListChainCorpInfo

func ListChainCorpInfo(chainID string, groupID int64, fetchChild int, result *ResultChainCorpInfoList) wx.Action

ListChainCorpInfo 获取企业上下游通讯录分组下的企业详情列表

func TransferMinipSession

func TransferMinipSession(params *ParamsMinipSessionTransfer, result *ResultMinipSessionTransfer) wx.Action

TransferMinipSession 获取下级/下游企业小程序session

func UnionIDToExternalUserID

func UnionIDToExternalUserID(unionid, openid, corpid string, result *ResultUnionIDToExternalUserID) wx.Action

UnionIDToExternalUserID 上下游企业应用获取微信用户的external_userid

Types

type Chain

type Chain struct {
	ChainID   string `json:"chain_id"`
	ChainName string `json:"chain_name"`
}

type ChainGroup

type ChainGroup struct {
	GroupID   int64  `json:"groupid"`
	GroupName string `json:"group_name"`
	ParentID  int64  `json:"parentid"`
	Order     int    `json:"order"`
}

type ChainGroupCorp

type ChainGroupCorp struct {
	GroupID  int64  `json:"groupid"`
	CorpID   string `json:"corpid"`
	CorpName string `json:"corp_name"`
	CustomID string `json:"custom_id"`
}

type CorpInfo

type CorpInfo struct {
	CorpID   string `json:"corpid"`
	CorpName string `json:"corp_name"`
	AgentID  int64  `json:"agentid"`
}

type ExternalUserIDInfo

type ExternalUserIDInfo struct {
	CorpID         string `json:"corpid"`
	ExternalUserID string `json:"external_userid"`
}

type ParamsAppShareInfoList

type ParamsAppShareInfoList struct {
	AgentID      int64  `json:"agentid"`
	BusinessType int    `json:"business_type,omitempty"`
	CorpID       string `json:"corpid,omitempty"`
	Limit        int    `json:"limit,omitempty"`
	Cursor       string `json:"cursor,omitempty"`
}

type ParamsChainCorpInfoList

type ParamsChainCorpInfoList struct {
	ChainID    string `json:"chain_id"`
	GroupID    int64  `json:"groupid,omitempty"`
	FetchChild int    `json:"fetch_child,omitempty"`
}

type ParamsChainGroup

type ParamsChainGroup struct {
	ChainID string `json:"chain_id"`
}

type ParamsCorpAccessToken

type ParamsCorpAccessToken struct {
	CorpID       string `json:"corpid"`
	BusinessType int    `json:"business_type,omitempty"`
	AgentID      int64  `json:"agentid"`
}

type ParamsMinipSessionTransfer

type ParamsMinipSessionTransfer struct {
	UserID     string `json:"userid"`
	SessionKey string `json:"session_key"`
}

type ParamsUnionIDToExternalUserID

type ParamsUnionIDToExternalUserID struct {
	UnionID string `json:"unionid"`
	OpenID  string `json:"openid"`
	CorpID  string `json:"corpid,omitempty"`
}

type ResultAppShareInfoList

type ResultAppShareInfoList struct {
	Ending     int         `json:"ending"`
	CorpList   []*CorpInfo `json:"corp_list"`
	NextCursor string      `json:"next_cursor"`
}

type ResultChainCorpInfoList

type ResultChainCorpInfoList struct {
	GroupCorps []*ChainGroupCorp `json:"group_corps"`
}

type ResultChainGroup

type ResultChainGroup struct {
	Groups []*ChainGroup `json:"groups"`
}

type ResultChainList

type ResultChainList struct {
	Chains []*Chain `json:"chains"`
}

type ResultCorpAccessToken

type ResultCorpAccessToken struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
}

type ResultMinipSessionTransfer

type ResultMinipSessionTransfer struct {
	UserID     string `json:"userid"`
	SessionKey string `json:"session_key"`
}

type ResultUnionIDToExternalUserID

type ResultUnionIDToExternalUserID struct {
	ExternalUserIDInfo []*ExternalUserIDInfo `json:"external_userid_info"`
}

Jump to

Keyboard shortcuts

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