获取openid
GET
/api/v1/app/get-open-id
请求参数
参数名
类型
描述
必填
code
string
获取code https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE
必填
响应参数
参数名
类型
描述
必填
access_token
string
示例:ACCESS_TOKEN
必填
expires_in
int
示例:7200
必填
refresh_token
string
示例:REFRESH_TOKEN
必填
openid
string
示例:OPENID
必填
scope
string
示例:SCOPE
必填