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.
36 lines
894 B
36 lines
894 B
package wechatopen
|
|
|
|
import (
|
|
"context"
|
|
"github.com/dtapps/go-library/utils/golog"
|
|
)
|
|
|
|
// 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
|
|
}
|
|
|
|
func (c *Client) GetLog(ctx context.Context) *golog.ApiClient {
|
|
return c.log.client
|
|
}
|