diff --git a/Application/Home/View/default/Home/promitionofregestion.html b/Application/Home/View/default/Home/promitionofregestion.html
index cffc09800..756db55be 100644
--- a/Application/Home/View/default/Home/promitionofregestion.html
+++ b/Application/Home/View/default/Home/promitionofregestion.html
@@ -9,7 +9,7 @@
-
+
{$data[0]['relation_game_name']}
@@ -133,29 +133,29 @@
var dataIndex = getVs();
$('#data-' + dataIndex).css('display','unset');
- // $.ajax({
- // url: "{:U('Home/generateWechatSign')}",
- // dataType: 'json',
- // type: 'post',
- // data: {url: window.location.href},
- // success: function(response) {
- // if (response.status) {
- // wx.config({
- // debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
- // appId: response.data.appid,
- // timestamp: response.data.time,
- // nonceStr: response.data.randStr,
- // signature: response.data.sign,
- // jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone']
- // })
- // var title = $('[name=title]').val();
- // var description = $('[name=description]').val();
- // var icon = $('[name=icon]').val();
- //
- // wxReady(title, description, icon)
- // }
- // }
- // });
+ $.ajax({
+ url: "{:U('Home/generateWechatSign')}",
+ dataType: 'json',
+ type: 'post',
+ data: {url: window.location.href},
+ success: function(response) {
+ if (response.status) {
+ wx.config({
+ debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
+ appId: response.data.appid,
+ timestamp: response.data.time,
+ nonceStr: response.data.randStr,
+ signature: response.data.sign,
+ jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone']
+ })
+ var title = $('[name=title]').val();
+ var description = $('[name=description]').val();
+ var icon = $('[name=icon]').val();
+
+ wxReady(title, description, icon)
+ }
+ }
+ });
function wxReady(title, description, img) {
wx.ready(function () {