-
编辑器真机调试 会出现 define is not defined

解决: 下载最新版编辑器就可以进行调试了 -
菊花二维码生成(注意: 你的小程序已经有已发布的线上版本)
使用postman
第一步:https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=你的小程序ID&secret=小程序密钥(get请求)

第二步: 把生成的access_token 放在 (post请求)
https://api.weixin.qq.com/wxa/getwxacode?access_token= access_token
{
“path”: “pages/index/index” // app.json的第一个路径
}
这样就可以拿到菊花二维码了哦

被折叠的 条评论
为什么被折叠?



