|
@@ -21,7 +21,7 @@ var wxJssdkMixin = function () {
|
|
|
// console.log(nonceStr, timestamp, signature, data.ticket)
|
|
|
if (this.isWeChat()) {
|
|
|
wx.config({
|
|
|
- debug: true, // dev === 'development' 开启调试模式,调用的所有 api 的返回值会在客户端 alert 出来,若要查看传入的参数,可以在 pc 端打开,参数信息会通过 log 打出,仅在 pc 端时才会打印。
|
|
|
+ debug: false, // dev === 'development' 开启调试模式,调用的所有 api 的返回值会在客户端 alert 出来,若要查看传入的参数,可以在 pc 端打开,参数信息会通过 log 打出,仅在 pc 端时才会打印。
|
|
|
appId: 'wx91c4152b60ca91a3', // 必填,公众号的唯一标识
|
|
|
timestamp: data.timestamp, // 必填,生成签名的时间戳
|
|
|
nonceStr: data.noncestr, // 必填,生成签名的随机串
|