- #wechat_redirect此字段是固定跟在url后面:
https
:
//open.weixin.qq.com/connect/oauth2/authorize?appid=CORPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect
2、还是说可以代表明确的数值:https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx74e955420d317a6e&redirect_uri='.urlencode('http://1.xxxxweixin.applinzi.com/test/login.php').'&response_type=code&scope=snsapi_base&state=1(这里的1,代表#wechat_redirect,这样可以嘛?)
是第一种正确or第二种~!小白求助!!! 感谢好心人 ~么么哒~~!!
您好,//open.weixin.qq.com/connect/oauth2/authorize?appid=CORPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect #wechat_redirect 这个是固定内容来的,不能替换
有没有 能配置 开发环境 重定向的 参数啊
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxxxxxxxxxx&redirect_uri=http%3a%2f%2fapp.xxx.com%2fxxx&response_type=code&scope=snsapi_base&state=#wechat_redirect"
给你看下我写的