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.
wechatunion/get.go

21 lines
371 B

2 years ago
package wechatunion
2 years ago
import "context"
2 years ago
func (c *Client) GetAppId() string {
return c.config.appId
2 years ago
}
2 years ago
func (c *Client) GetAppSecret() string {
return c.config.appSecret
2 years ago
}
2 years ago
func (c *Client) GetPid() string {
return c.config.pid
2 years ago
}
2 years ago
func (c *Client) getAccessToken(ctx context.Context) string {
c.config.accessToken = c.GetAccessToken(ctx)
return c.config.accessToken
2 years ago
}