Authored by ping

update

... ... @@ -311,7 +311,7 @@
if (typeof(wx) == "undefined") {
return;
}
var shareUrl = "";
/* var shareUrl = "";
$.ajax({
async : false,
url : "/activity/cocacola/CocacolaController/getWechatShareUrl",
... ... @@ -323,13 +323,13 @@
}
shareUrl = data.data.wechatShareUrl;
}
});
}); */
var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停';
var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg';
var shareDesc = '揭盖赢福利,潮流逛不停';
//var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html";
var shareLink = shareUrl;
var shareLink = "http://service.yoho.cn/activity/cocacola/html/index1.html";
$.getJSON(_weChatInterface + '?pageurl=' +
encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
var _appId, _timestamp, _nonceStr, _signature;
... ...
... ... @@ -362,7 +362,7 @@ $('#verification').bind('input propertychange', function(){
if (typeof(wx) == "undefined") {
return;
}
var shareUrl = "";
/* var shareUrl = "";
$.ajax({
async : false,
url : "/activity/cocacola/CocacolaController/getWechatShareUrl",
... ... @@ -374,13 +374,13 @@ $('#verification').bind('input propertychange', function(){
}
shareUrl = data.data.wechatShareUrl;
}
});
}); */
var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停';
var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg';
var shareDesc = '揭盖赢福利,潮流逛不停';
//var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html";
var shareLink = shareUrl;
var shareLink = "http://service.yoho.cn/activity/cocacola/html/index1.html";
$.getJSON(_weChatInterface + '?pageurl=' +
encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
var _appId, _timestamp, _nonceStr, _signature;
... ...
... ... @@ -196,9 +196,9 @@
}
var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停';
var shareImg = '';
var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg';
var shareDesc = '揭盖赢福利,潮流逛不停';
var shareLink = '';
var shareLink = 'http://service.yoho.cn/activity/cocacola/html/index1.html';
$.getJSON(_weChatInterface + '?pageurl=' +
encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
var _appId, _timestamp, _nonceStr, _signature;
... ...