|
|
@@ -6,7 +6,7 @@ import http from '../plugins/http';
|
|
|
|
|
|
jsapiSign();
|
|
|
function jsapiSign() {
|
|
|
- return;
|
|
|
+ // return;
|
|
|
// eslint-disable-next-line no-unreachable
|
|
|
setTimeout(() => {
|
|
|
console.log(/micromessenger/i.test(navigator.userAgent))
|
|
|
@@ -16,7 +16,7 @@ function jsapiSign() {
|
|
|
}
|
|
|
let isIOS = /iphone|ipad/i.test(navigator.userAgent);
|
|
|
http.http
|
|
|
- .get('/wx/jsapiSign', { url: isIOS ? store.state.firstUrl : location.origin + location.href })
|
|
|
+ .get('/wx/jsapiSign', { url: isIOS ? store.state.firstUrl : location.origin + location.pathname })
|
|
|
.then(res => {
|
|
|
wx.config({
|
|
|
debug: false,
|
|
|
@@ -38,14 +38,15 @@ function jsapiSign() {
|
|
|
});
|
|
|
wx.ready(function () {
|
|
|
wx.updateAppMessageShareData({
|
|
|
+ title: 'Raex绿洲-全球首个基于区块链的游戏资产集换中心',
|
|
|
desc: '全球首个基于区块链的游戏资产集换中心',
|
|
|
link: location.origin + '/9th',
|
|
|
- imgUrl: 'https://9space-2021.oss-cn-shenzhen.aliyuncs.com/nft/2021-11-05-15-58-30YwqLzMjy.jpg'
|
|
|
+ imgUrl: 'https://cdn.raex.vip/nft/2023-02-03-15-26-31pSjRXlXn.png'
|
|
|
});
|
|
|
wx.updateTimelineShareData({
|
|
|
- title: '绿洲宇宙-全球首个基于区块链的游戏资产集换中心',
|
|
|
+ title: 'Raex绿洲-全球首个基于区块链的游戏资产集换中心',
|
|
|
link: location.origin + '/9th',
|
|
|
- imgUrl: 'https://9space-2021.oss-cn-shenzhen.aliyuncs.com/nft/2021-11-05-15-58-30YwqLzMjy.jpg'
|
|
|
+ imgUrl: 'https://cdn.raex.vip/nft/2023-02-03-15-26-31pSjRXlXn.png'
|
|
|
});
|
|
|
});
|
|
|
})
|