https://blog.csdn.net/qq_41473887/article/details/81335977
1、拿到access_token
https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=秘钥
2、请求生成二维码 (json数据去请求
url: 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=AbgEb2z0il9eIsqn6pWJTmSkvTcJhtb1As3_e049Qv_iFnVw8TXKEa2N8nn3GBKJbQaJ9G2ae5At4Cirphd8HFaduGvMU14UpuWjJz6X0i74I8-',
data: {
scene: '000',
page: "pages/ketang/group/group"
}
3、可用postman模拟请求
https://www.cnblogs.com/shimh/p/6093229.html
(先在Headers内填好 Content-Type application/json
然后在body选raw , 文本框填json数据
{
"scene":"000",
"page":"pages/offer/offer"
}