小程序跳公众号文章关注公众号

通过微信 web-view 组件跳到公众号文章,src为文章链接,找运营同学要
- 1
<web-view src="https://mp.weixin.qq.com/s/zOPIITD7iVJV8n-r"></web-view>

获取用户是否已关注公众号状态(不实用)
公众号接口获取用户列表,得到已关注的用户的openid列表 公众号接口根据openid批量获取unionID,存入数据库中 wx.getUserInfo 获取用户的unionID,在数据库中查找该unionID,找到则表示已关注,否则未关注 关注后接收事件通知,将unionID写入数据库 如果是全新的公众号和小程序,可以跳过1,2步
(完)
0条看法
最新最后最热
等待你的评论