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

package wechatunion
import "context"
func (c *Client) getAppId() string {
return c.config.AppId
}
func (c *Client) getAppSecret() string {
return c.config.AppSecret
}
func (c *Client) getAccessToken(ctx context.Context) string {
c.config.AccessToken = c.GetAccessToken(ctx)
return c.config.AccessToken
}
func (c *Client) getPid() string {
return c.config.Pid
}