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.
22 lines
453 B
22 lines
453 B
package wechatoffice
|
|
|
|
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) getJsapiTicket(ctx context.Context) string {
|
|
c.config.JsapiTicket = c.GetJsapiTicket(ctx)
|
|
return c.config.JsapiTicket
|
|
}
|