UnionID

小程序 文章 2022-04-08 14:20 282 0 全屏看文

AI助手支持GPT4.0

UnionIDUnionID

UnionID
框架类型 问题类型 操作时间 AppID
小程序 Bug 14小时前 wx9daefdc7bcda7e21

https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html

UnionID机制

我公司有个 小程序, 后端维护了 手机号与用户的openid

由于小程序不支持 长期通知, 于是决定弄一个 服务号出来.

请问如果服务号绑定小程序的话, 之前小程序的openid 能 用在服务号里面嘛? 复用之前小程序的维护关系

Frame type problem type operation time appid applet bug 14 hours ago wx9daefdc7bcda7e21 https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html Unionid mechanism our company has a small program. The back end maintains the mobile phone number and the user's openid. Because the small program does not support long-term notification, we decided to get a service number If the service number is bound to the applet, can the openid of the applet be used in the service number? Maintenance relationship of applet before reuse

回答:

拾忆:

需要小程序和公众号绑定在同一个开放平台下面,具体用法是小程序和公众号各自获取访客对应的openid和unionid,然后自行通过自己的数据库去匹配小程序用户是否关注过公众号,如果关注过则反查公众号的openid给用户去推送模板消息。

你是森林的小猪:

同一个企业下的小程序和公众号的openId也是不同的,服务号不确定,但应该也不一样吧

Mr.Zhao:

如果能复用,还要unionid干啥

-EOF-

AI助手支持GPT4.0