优化代码

This commit is contained in:
wuxw 2024-09-04 16:48:34 +08:00
parent aa45e0b7c7
commit 418eacbf3e
3 changed files with 4 additions and 4 deletions

View File

@ -17,12 +17,12 @@ let baseUrl = '/';
// 腾讯地图Key, h5使用 // 腾讯地图Key, h5使用
let QQMapKey = ''; let QQMapKey = '';
let commonBaseUrl= 'http://demo.homecommunity.cn/'; let commonBaseUrl= 'https://wuye.huilinwan.cn/';
// #ifndef H5 // #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址 //服务器域名 小程序 或者 app 时 后端地址
//let baseUrl = 'http://demo.homecommunity.cn/'; //let baseUrl = 'http://demo.homecommunity.cn/';
let baseUrl = 'http://localhost:8008/'; let baseUrl = 'https://wuye.huilinwan.cn/';
// #endif // #endif
//app支付时这里需要填写支付秘钥 //app支付时这里需要填写支付秘钥

View File

@ -59,7 +59,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wxee2d6a78b91584c2", "appid" : "wx756f290c9a275224",
"setting" : { "setting" : {
"urlCheck" : false "urlCheck" : false
}, },

View File

@ -32,7 +32,7 @@
}).then(_data => { }).then(_data => {
_that.machines = _data.data; _that.machines = _data.data;
let _url = conf.commonBaseUrl+"/h5/jessibuca/video.html?tt=" let _url = conf.commonBaseUrl+"/h5/jessibuca/video.html?tt="
+encodeURI(_data.data.url) +encodeURIComponent(_data.data.url)
+"&time="+new Date().getTime(); +"&time="+new Date().getTime();
_that.url = _url; _that.url = _url;
}) })