06 2021 档案

摘要:1.appID配置 在manifest.json中输入申请的微信小程序id 2.获取用户信息 可以使用uni.getUserProfile请求用户授权获取用户信息, 也可以使用uni.getUserInfo获取 授权成功后获取到的用户信息在userInfo中: uni.getUserProfile( 阅读全文
posted @ 2021-06-29 11:41 陈鹏昱Chen 阅读(7386) 评论(0) 推荐(0) 编辑
摘要:uni-app本机应用程序:http://localhost:8080 接口api地址:http://localhost:35949/Test 打开manifest.json配置文件,最底部点击"源码视图",在"h5"中加入配置, prot为前端应的端口,taget为后端服务的地址+端口 "h5": 阅读全文
posted @ 2021-06-16 21:26 陈鹏昱Chen 阅读(2461) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示