准备
启用unicloud
uni-id的配置文件cofig.json中填写微信小程序的appid和密钥
在总的配置文件mainfest.json中填写微信小程序AppId
运行到微信开发者工具
测试返回code
创建一个云函数,调用微信登录,接收code
引入uni-id
上传部署
获取用户信息
启用unicloud
uni-id的配置文件cofig.json中填写微信小程序的appid和密钥
在总的配置文件mainfest.json中填写微信小程序AppId
运行到微信开发者工具
测试返回code
创建一个云函数,调用微信登录,接收code
引入uni-id
上传部署
获取用户信息