Commit 4783fdc2 by 陈玉桐

fix

parent 37479a47
......@@ -216,7 +216,6 @@ export default {
// }
// }
let _url = document.location.href.split('#')[0]
alert(_url)
request({
url: '/api/MarketingToolApi/Wechat/getSignPackage',
method: 'post',
......@@ -231,7 +230,7 @@ export default {
this.timestamp = response.data.timestamp
wx.config({
debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: this.appId, // 必填,公众号的唯一标识
timestamp: this.timestamp, // 必填,生成签名的时间戳
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