获取unionID,微信开放平台和微信小程序的主体必须一致吗?

小程序 文章 2022-03-17 17:00 1930 0 全屏看文

AI助手支持GPT4.0

获取unionID,微信开放平台和微信小程序的主体必须一致吗?To obtain unionID, must the subject of WeChat Open Platform and WeChat Mini Program be the same?

获取unionID,微信开放平台和微信小程序的主体必须一致吗?

https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/union-id.html

获取unionID,微信开放平台和微信小程序的主体必须一致吗?微信开发平台、公众号、服务号、小程序,这几个。如果公司主体不一致,会导致unionID获取不到同一个吗?

https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/union-id.html To obtain unionid, must the subjects of wechat open platform and wechat applet be the same? WeChat development platform, official account, service number, small program. If the company entities are inconsistent, will the unionid not get the same one?

回答:

拾忆:

主体可以不一致,但是前提是需要绑定在同一个开放平台中的小程序/公众号才能或得到用户相同的unionid。

青寒:

unionid是根据微信开放平台生成出来的。

只要公众号、小程序绑定到同一个开放平台,同一用户的unionid就会相同。

开放平台可以绑定不同主体的小程序,但有绑定数量限制。

|G.XIAO|:

同一个商户是一样的

-EOF-

AI助手支持GPT4.0