文档
测试

(微信回调)用户同意授权,获取code

GET
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc9bff9d4a372c10c&redirect_uri=http://w2p7391765.51vip.biz/mq/mobile/apply/callbackByWx&response_type=code&scope=snsapi_userinfo&state=STATE#

请求参数

参数名
类型
描述
必填
appid
string
示例:wxc9bff9d4a372c10c
可选
redirect_uri
string
示例:http://w2p7391765.51vip.biz/mq/mobile/apply/callbackByWx
可选
response_type
string
示例:code
可选
scope
string
示例:snsapi_userinfo
可选
state
string
示例:STATE
可选