How to jump to another address after scanning the QR code on Wechat's official account

problem description:
has a QR code, assuming that the message is: http://x.y/qr/123
now needs to scan the code and add parameter access, such as http://x.y/qr/123?param1=xxx

.

Wechat menu calls scan tweet: scancode_push or scancode_waitmsg. After scanning the code, the former jumps directly to the above address, and there is no way to add parameters. After scanning the code, the latter can parse the ScanResult, and send out the message template, pointing to the address http://x.y/qr/123?param1=xxx, or another address

.

I would like to ask you, is there any way to scan the code and directly bring the parameters to visit?

Application scenario:
obtain user information through Wechat web page authorization, and redirect the scanned address to
https://open.weixin.qq.com/co.
&response_type=code&scope=snsapi_base&state=param1-sharpwechat_redirect

.

after getting the user openid, redirect to http://x.y/qr/123?openid=xxx

other information:

  • backend ASP.NET
  • the content of the QR code is not easy to modify
  • the front end should load the page or jump to the page according to the parameters
Menu