文档
测试

获取微信授权链接

GET
/api/user/wechatUrl

请求头

参数名
类型
描述
必填
token
登录令牌
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
time
string
示例:1670307867
必填
data
string
示例:https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx31b85c132c55f57e&redirect_uri=http://duomendian.qinganweb.com/api/index/authlogin/user_id/1.html&response_type=code&scope=snsapi_userinfo&state=0#wechat_redirect
必填