Authored by 陈峰

Merge branch 'release/5.3' of http://git.yoho.cn/fe/yohobuywap-node into release/5.3

... ... @@ -5,7 +5,7 @@
* Time: 16:55
*/
var qs = window.queryString;
var qs = require('yoho-qs');
var jsApiList = [
'checkJsApi',
... ...
... ... @@ -8,9 +8,9 @@
module.exports = function() {
var $ = require('yoho-jquery');
var _weChatInterface = '//m.yohobuy.com/life/getSignPackage';
var _weChatInterface = '//m.yohobuy.com/activity/wechat/share';
$.getJSON(_weChatInterface + '?pageurl=' +
$.getJSON(_weChatInterface + '?url=' +
encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
var _appId, _timestamp, _nonceStr, _signature;
... ... @@ -23,7 +23,7 @@ module.exports = function() {
_appId = json.appId.toString();
_timestamp = json.timestamp;
_nonceStr = json.nonceStr.toString();
_signature = json.signature.toString();
_signature = json.ticket.toString();
wx.config({
debug: false,
... ...