/wiki/doc/api/jsapi.php? Chapter 7. Exponent =6
Wechat authorized access code
/doc/offi account/OA _ Web _ Apps/JS-SDK . html # 58
Introducing module-generating signature (required by wx.config)-combining interface return parameters-evoking wxpay.
Npm i (WeChat -js-sdk)
Import wx from' weixin-js-sdk'
I named this file common.js, which will be used when I wake up payment in the future.
Reference address:/doc/offiaccount/OA _ web _ apps/js-sdk.html # 58