Commit 12777840445b552d146c50a376e6a5d35487c6fb
1 parent
947530f4
[年会抽奖]打开微信SDK调试
Showing
1 changed file
with
1 additions
and
1 deletions
mobile.js
... | ... | @@ -34,7 +34,7 @@ var action = { |
34 | 34 | var WECHAT_JS_SIGN_URL = baseURL + '/api.WechatJsSign.php'; |
35 | 35 | var sign = function(data) { |
36 | 36 | wx.config({ |
37 | - debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 | |
37 | + debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 | |
38 | 38 | appId: data.appId, // 必填,公众号的唯一标识 |
39 | 39 | timestamp: data.timestamp, // 必填,生成签名的时间戳 |
40 | 40 | nonceStr: data.nonceStr, // 必填,生成签名的随机串 | ... | ... |