Authored by ping

update

@@ -311,7 +311,7 @@ @@ -311,7 +311,7 @@
311 if (typeof(wx) == "undefined") { 311 if (typeof(wx) == "undefined") {
312 return; 312 return;
313 } 313 }
314 - var shareUrl = ""; 314 + /* var shareUrl = "";
315 $.ajax({ 315 $.ajax({
316 async : false, 316 async : false,
317 url : "/activity/cocacola/CocacolaController/getWechatShareUrl", 317 url : "/activity/cocacola/CocacolaController/getWechatShareUrl",
@@ -323,13 +323,13 @@ @@ -323,13 +323,13 @@
323 } 323 }
324 shareUrl = data.data.wechatShareUrl; 324 shareUrl = data.data.wechatShareUrl;
325 } 325 }
326 - }); 326 + }); */
327 var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; 327 var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
328 var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; 328 var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停';
329 var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg'; 329 var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg';
330 var shareDesc = '揭盖赢福利,潮流逛不停'; 330 var shareDesc = '揭盖赢福利,潮流逛不停';
331 //var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html"; 331 //var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html";
332 - var shareLink = shareUrl; 332 + var shareLink = "http://service.yoho.cn/activity/cocacola/html/index1.html";
333 $.getJSON(_weChatInterface + '?pageurl=' + 333 $.getJSON(_weChatInterface + '?pageurl=' +
334 encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { 334 encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
335 var _appId, _timestamp, _nonceStr, _signature; 335 var _appId, _timestamp, _nonceStr, _signature;
@@ -362,7 +362,7 @@ $('#verification').bind('input propertychange', function(){ @@ -362,7 +362,7 @@ $('#verification').bind('input propertychange', function(){
362 if (typeof(wx) == "undefined") { 362 if (typeof(wx) == "undefined") {
363 return; 363 return;
364 } 364 }
365 - var shareUrl = ""; 365 + /* var shareUrl = "";
366 $.ajax({ 366 $.ajax({
367 async : false, 367 async : false,
368 url : "/activity/cocacola/CocacolaController/getWechatShareUrl", 368 url : "/activity/cocacola/CocacolaController/getWechatShareUrl",
@@ -374,13 +374,13 @@ $('#verification').bind('input propertychange', function(){ @@ -374,13 +374,13 @@ $('#verification').bind('input propertychange', function(){
374 } 374 }
375 shareUrl = data.data.wechatShareUrl; 375 shareUrl = data.data.wechatShareUrl;
376 } 376 }
377 - }); 377 + }); */
378 var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; 378 var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
379 var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; 379 var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停';
380 var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg'; 380 var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg';
381 var shareDesc = '揭盖赢福利,潮流逛不停'; 381 var shareDesc = '揭盖赢福利,潮流逛不停';
382 //var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html"; 382 //var shareLink = "http://feature.yoho.cn/activity/cocacola/index.html";
383 - var shareLink = shareUrl; 383 + var shareLink = "http://service.yoho.cn/activity/cocacola/html/index1.html";
384 $.getJSON(_weChatInterface + '?pageurl=' + 384 $.getJSON(_weChatInterface + '?pageurl=' +
385 encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { 385 encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
386 var _appId, _timestamp, _nonceStr, _signature; 386 var _appId, _timestamp, _nonceStr, _signature;
@@ -196,9 +196,9 @@ @@ -196,9 +196,9 @@
196 } 196 }
197 var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage'; 197 var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
198 var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停'; 198 var shareTitle = '来Yoho!Buy有货玩潮流,潮流逛不停';
199 - var shareImg = ''; 199 + var shareImg = 'http://img12.static.yhbimg.com/activity/2016/04/07/11/02b3b297581ace1ca6251f7f9e67ca7937.jpg';
200 var shareDesc = '揭盖赢福利,潮流逛不停'; 200 var shareDesc = '揭盖赢福利,潮流逛不停';
201 - var shareLink = ''; 201 + var shareLink = 'http://service.yoho.cn/activity/cocacola/html/index1.html';
202 $.getJSON(_weChatInterface + '?pageurl=' + 202 $.getJSON(_weChatInterface + '?pageurl=' +
203 encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) { 203 encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
204 var _appId, _timestamp, _nonceStr, _signature; 204 var _appId, _timestamp, _nonceStr, _signature;