diff --git a/common/config.js b/common/config.js index 4c7923a..ef54693 100644 --- a/common/config.js +++ b/common/config.js @@ -1,10 +1,10 @@ -// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // -// const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 -// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 +const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // +const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 +const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 -const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // -const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 -const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 +// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // +// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 +// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 module.exports = { APIHOST: ROOTPATH, diff --git a/me/detail/detail.nvue b/me/detail/detail.nvue index ba0bae2..66884df 100644 --- a/me/detail/detail.nvue +++ b/me/detail/detail.nvue @@ -749,7 +749,11 @@ } else if (this.openWay == 1) { // APP支付宝支付 httpsRequest.getT("/app/wuyou/payOrder/"+this.ordersId, {}).then(ret => { - plus.runtime.openURL(ret.data.h5Url) + // plus.runtime.openURL(ret.data.h5Url) + + uni.navigateTo({ + url: '/pages/index/webView?url=' + ret.data.h5Url + }); // this.isCheckPay(ret.code, 'wxpay', JSON.stringify(ret.data)); }); } else if (this.openWay == 3) {