A two-dimensional code with parameters is generated in the channel promotion in WeChat’s official document, which reads
When a user scans a two-dimensional code with scene values, the following two events may be pushed: If the user has not paid attention to Wechat Official Account, the user can pay attention to Wechat Official Account, and WeChat will push the event with scene value to the developer after paying attention. If users have paid attention to Wechat Official Account, they will automatically enter the session after scanning, and WeChat will also push the scanning event with scene value to the developer. The scene value is the POST data when generating the two-dimensional code. See http://mp.weixin.qq.com/wiki/index.php? Title= percentage E7 percentage 94 percentage 9F percentage E6 percentage 88 percentage E5 percentage B8 percentage A6 percentage E5 percentage 8F percentage 82 percentage E6 percentage 95 percentage B0 percentage E7 percentage 9A percentage 84 percentage E4 percentage BA percentage 8C percentage E7 percentage BB percentage B4 percentage E7 percentage A0 percentage 81 What is the usage of the scene value?
Scene id is a digital id, you can call the database to judge.
For example, you need to place a scene two-dimensional code around the country. If you use the area code as the scene id, when the user passes through the scene two-dimensional code scanned by Shenzhen, WeChat server will return 755 to you, and you will know that the new user is from Shenzhen.