Commit 4783fdc2 by 陈玉桐

fix

parent 37479a47
...@@ -216,7 +216,6 @@ export default { ...@@ -216,7 +216,6 @@ export default {
// } // }
// } // }
let _url = document.location.href.split('#')[0] let _url = document.location.href.split('#')[0]
alert(_url)
request({ request({
url: '/api/MarketingToolApi/Wechat/getSignPackage', url: '/api/MarketingToolApi/Wechat/getSignPackage',
method: 'post', method: 'post',
...@@ -231,7 +230,7 @@ export default { ...@@ -231,7 +230,7 @@ export default {
this.timestamp = response.data.timestamp this.timestamp = response.data.timestamp
wx.config({ wx.config({
debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: this.appId, // 必填,公众号的唯一标识 appId: this.appId, // 必填,公众号的唯一标识
timestamp: this.timestamp, // 必填,生成签名的时间戳 timestamp: this.timestamp, // 必填,生成签名的时间戳
nonceStr: this.nonceStr, // 必填,生成签名的随机串 nonceStr: this.nonceStr, // 必填,生成签名的随机串
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment