token

package
v0.0.0-...-365cfde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// API_URL_PREFIX 微信授权请求URL
	API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin"
	// AUTH_URL 获取access_token api
	AUTH_URL = "/token?grant_type=client_credential&"
)

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken() (accessToken string, err error)

GetAccessToken 获取普通调用access_token [有次数限制,必须缓存]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL