You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
package wechatopen
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// GetComponentAppId 第三方平台appid
|
|
func (c *Client) GetComponentAppId(ctx context.Context) string {
|
|
return c.config.componentAppId
|
|
}
|
|
|
|
// GetComponentAppSecret 第三方平台app_secret
|
|
func (c *Client) GetComponentAppSecret(ctx context.Context) string {
|
|
return c.config.componentAppSecret
|
|
}
|
|
|
|
// GetMessageToken 第三方平台消息令牌
|
|
func (c *Client) GetMessageToken(ctx context.Context) string {
|
|
return c.config.messageToken
|
|
}
|
|
|
|
// GetMessageKey 第三方平台消息密钥
|
|
func (c *Client) GetMessageKey(ctx context.Context) string {
|
|
return c.config.messageKey
|
|
}
|
|
|
|
// GetAuthorizerAppid 授权方appid
|
|
func (c *Client) GetAuthorizerAppid(ctx context.Context) string {
|
|
return c.config.authorizerAppid
|
|
}
|
|
|
|
// GetAuthorizerAccessToken 授权方access_token
|
|
func (c *Client) GetAuthorizerAccessToken(ctx context.Context) string {
|
|
return c.config.authorizerAccessToken
|
|
}
|
|
|
|
// GetAuthorizerRefreshToken 授权方refresh_token
|
|
func (c *Client) GetAuthorizerRefreshToken(ctx context.Context) string {
|
|
return c.config.authorizerRefreshToken
|
|
}
|