GithubHelp home page GithubHelp logo

Comments (5)

HADB avatar HADB commented on June 9, 2024 1

你这个redirect_uri本身格式有问题,你可以试下:

decodeURIComponent("http%3A%2F%2Fwww.xyz.com%2Findex.php%3Fa%3D326%b%3D4")

会报错。
要确保redirect_uri里面的内容是可以正确decode的

from getweixincode.

haohexin avatar haohexin commented on June 9, 2024

首先谢谢大佬
http%3A%2F%2Fwx.llxtd.com%2Fapp%2Findex.php%3Fi%3D3%26t%3D3
decode 出来是
http://wx.llxtd.com/app/index.php?i=3&t=3
然后 补全所有的地址
http://fwh.llxtd.com/get-weixin-code.html?appid=wx97388116af6c38ef&scope=snsapi_base&state=hello-world&redirect_uri=http%3A%2F%2Fwx.llxtd.com%2Fapp%2Findex.php%3Fi%3D3%26t%3D3
在微信web开发工具中访问这个地址就是显示 redirect_url 参数错误,链接被重定向成
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx97388116af6c38ef&redirect_uri=http%3A%2F%2Fwx.llxtd.com%2Fapp%2Findex.php%3Fi%3D3%26j%3D3%26c%3Dauth%26a%3Doauth%26scope%3Dsnsapi_base&response_type=code&scope=snsapi_base&state=we7sid-3a6f1a378b1196e857f9aad1f33845d8&uin=MjAyMjM3ODM0MA%3D%3D&key=acf9e0498e32d7d7598a567a21247f76720f0146b3c5a9e78933e97aea2a92e5f09095b14ce5c4a02081e79933b8d846&pass_ticket=Y1QBya5RO28DSIv/QyeipkJTPbIftki2ayhxu3ri167NMl2wU5ZhSk8QIQsEIxGWrVkR8+RaBHVmuWLzmOs9+g==

from getweixincode.

HADB avatar HADB commented on June 9, 2024

奇怪的是,你这个微信开发工具中的redirect_uri decode出来是

http://wx.llxtd.com/app/index.php?i=3&j=3&c=auth&a=oauth&scope=snsapi_base

理论上,应该是

http://fwh.llxtd.com/get-weixin-code.html?appid=wx97388116af6c38ef&scope=snsapi_base&state=hello-world&redirect_uri=http%3A%2F%2Fwx.llxtd.com%2Fapp%2Findex.php%3Fi%3D3%26t%3D3

from getweixincode.

haohexin avatar haohexin commented on June 9, 2024

嗯 这个很奇怪 还有一个奇怪的是
http://wx.llxtd.com/app/index.php?i=3&t=3
这个地址直接在浏览器可以访问 哈哈 并没有提示必须在微信中打开

from getweixincode.

xuehf avatar xuehf commented on June 9, 2024

@haohexin 我的参数丢了。请问你是怎么弄得啊

from getweixincode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.