@@ -105,8 +105,6 @@
});
},
setWxConfig(param){
- //alert(location.href.split('#')[0]);
- alert(location.href);
wx.config({
debug: false,
appId: param.appId,
@@ -128,6 +126,7 @@
method: 'wxinfo',
timestamp: 11111111,
code:that.weChatCode,
+ url:(location.href.split('#')[0]),
sign:md5('wxinfo'+'11111111')
}, //代表传过去的参数对象,
transformRequest: [function(data) {