微信开发二维码场景 请大神指点

WBOY
Release: 2016-06-06 20:07:37
Original
1437 people have browsed it

有这么个业务场景 就是发布一个活动,然后用户可以报名参加这个活动 然后有 2张表 活动表activity 参加活动的表apply 现在需要把这个活动 制作成二维码 然后参加活动的人一扫就可以 签到 这样的场景怎么做 求大神分析下

回复内容:

有这么个业务场景 就是发布一个活动,然后用户可以报名参加这个活动 然后有 2张表 活动表activity 参加活动的表apply 现在需要把这个活动 制作成二维码 然后参加活动的人一扫就可以 签到 这样的场景怎么做 求大神分析下

这个不难,调用微信生成带参数二维码接口,里面的参数是你活动的id,用户扫码之后会进入公众号(如果没有关注的话要先关注)微信把扫码事件推送到你的服务器,你可以知道那个用户(openid)扫了哪个活动(二维码参数)记录下来就行,另外此时还可以通过openid获取用户资料,因为他已经关注了公众号了。

微信平台根据扫码有好多介绍

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!