摘要: 1:前端获取用户凭证code 传送请求获得openId(用户唯一标识) 在页面的Onlaunch 方法中,调用wx.login 方法 https://developers.weixin.qq.com/miniprogram/dev/api/wx.login.html 这一步获取登录凭证,通过凭证调用 阅读全文
posted @ 2019-04-07 00:05 CeceliaDu 阅读(5216) 评论(2) 推荐(0) 编辑
摘要: 钉钉小程序开发遇到的bug: 当使用开发工具测试时,取消忽略 httpRequest 域名合法性检查的选项,http请求的headers 设置的是'Content-Type': 'application/json', 传送http post 和 get 请求都没有问题。但是当代码在真机上运行时,ge 阅读全文
posted @ 2018-12-21 13:10 CeceliaDu 阅读(8237) 评论(0) 推荐(0) 编辑