生成微信二維碼

本章分享的是生成微信二維碼,掃描二維碼之後可以跳轉到小程序相應的頁面。 首先要有小程序的appid以及appsecret, 用appid和secret去請求微信接口獲取token,然後用token去請求生成二維碼的接口 注意:{"path": "pages/books/mathematics/mathematics"}中的pages/books/mathematics/mathematics必須在
相關文章
相關標籤/搜索