xiongzhu 4 年之前
父节点
当前提交
bcaf811d04
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      src/main/nine-space/src/router/index.js

+ 7 - 2
src/main/nine-space/src/router/index.js

@@ -10,7 +10,7 @@ function jsapiSign() {
         http.http
             .get('/wx/jsapiSign', { url: location.origin + location.pathname })
             .then(res => {
-                res.debug = false;
+                res.debug = true;
                 res.jsApiList = [
                     'chooseWXPay',
                     'updateAppMessageShareData',
@@ -25,7 +25,12 @@ function jsapiSign() {
                         desc: '全球首个基于区块链的游戏资产集换中心',
                         link: location.origin + '/9th',
                         imgUrl: 'https://9space-2021.oss-cn-shenzhen.aliyuncs.com/nft/2021-11-05-15-58-30YwqLzMjy.jpg',
-                        success: function () {}
+                        success: function () {
+                            console.log('success');
+                        },
+                        fail: function (e) {
+                            console.log(e);
+                        }
                     });
                     wx.updateTimelineShareData({
                         title: '第九空间-全球首个基于区块链的游戏资产集换中心',