欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

如何通过企业微信收集用户信息?

最编程 2024-08-02 15:29:16
...
// 获取成员授权code后,需要跳转的地址 const redirectUrl = encodeURI(`${location.origin}`), appId = "aaaaabbbbbbbbbbbb", url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${redirectUrl}&response_type=code&scope=snsapi_userinfo#wechat_redirect`; window.open(url, "_self");

推荐阅读