update for wechat share
Showing
4 changed files
with
2 additions
and
2 deletions
@@ -1187,7 +1187,7 @@ define("js/plugin/wx-share", ["jquery"], function(require, exports, module){ | @@ -1187,7 +1187,7 @@ define("js/plugin/wx-share", ["jquery"], function(require, exports, module){ | ||
1187 | var $ = require("jquery"); | 1187 | var $ = require("jquery"); |
1188 | 1188 | ||
1189 | module.exports = function() { | 1189 | module.exports = function() { |
1190 | - var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; | 1190 | + var _weChatInterface = '/life/getSignPackage'; |
1191 | $.getJSON(_weChatInterface + '?pageurl=' + | 1191 | $.getJSON(_weChatInterface + '?pageurl=' + |
1192 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function (json) { | 1192 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function (json) { |
1193 | var _appId, _timestamp, _nonceStr, _signature; | 1193 | var _appId, _timestamp, _nonceStr, _signature; |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | var $ = require('jquery'); | 7 | var $ = require('jquery'); |
8 | 8 | ||
9 | module.exports = function() { | 9 | module.exports = function() { |
10 | - var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; | 10 | + var _weChatInterface = '/life/getSignPackage'; |
11 | $.getJSON(_weChatInterface + '?pageurl=' + | 11 | $.getJSON(_weChatInterface + '?pageurl=' + |
12 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function (json) { | 12 | encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function (json) { |
13 | var _appId, _timestamp, _nonceStr, _signature; | 13 | var _appId, _timestamp, _nonceStr, _signature; |
-
Please register or login to post a comment