Documentation ¶
Index ¶
Constants ¶
View Source
const ( ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s" JSAPI_TICKET_URL = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=%s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jssdk ¶
type Jssdk struct {
// contains filtered or unexported fields
}
func (*Jssdk) GetAccessToken ¶
获取AccessToken 通过accessToken!=nil来判断是否存在token error仅用作错误信息返回
func (*Jssdk) GetJsapiTicket ¶
Click to show internal directories.
Click to hide internal directories.