diff --git a/common/utils/requset.js b/common/utils/requset.js index b41bd01..4ec2a66 100644 --- a/common/utils/requset.js +++ b/common/utils/requset.js @@ -2,14 +2,14 @@ * @Author: ch * @Date: 2022-03-17 17:42:32 * @LastEditors: ch - * @LastEditTime: 2022-04-29 15:58:12 + * @LastEditTime: 2022-04-29 16:08:05 * @Description: 项目接口请求统一处理器,返回一个需要token和不需要token的请求封装方法 */ import MsbUniRequest from '@/common/plugins/msbUniRequest'; import $store from '@/common/store'; -const ENV = 'prod'; +const ENV = 'test'; const BASE_URL = { 'test' : 'https://k8s-horse-gateway.mashibing.cn', 'dev' : '', diff --git a/common/utils/wxpay.js b/common/utils/wxpay.js index dfb2f2c..bcda234 100644 --- a/common/utils/wxpay.js +++ b/common/utils/wxpay.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-04-29 14:26:10 * @LastEditors: ch - * @LastEditTime: 2022-04-29 14:54:16 + * @LastEditTime: 2022-04-29 16:55:57 * @Description: file content */ @@ -50,7 +50,7 @@ export const Wxpay = async ({orderId,openId})=>{ uni.$u.toast(error.message); return false; } - const redirect_url = decodeURIComponent(`https://like-app.mashibing.com/payResult?orderId=${orderId}`); + const redirect_url = decodeURIComponent(`https://you-app.mashibing.com/payResult?orderId=${orderId}`); window.location.href = `${result.dataInfo.payUrl}&redirect_url=${redirect_url}`; } } \ No newline at end of file diff --git a/pages/goods/detail/index.vue b/pages/goods/detail/index.vue index bb47ce2..4e7f777 100644 --- a/pages/goods/detail/index.vue +++ b/pages/goods/detail/index.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-23 17:27:21 * @LastEditors: ch - * @LastEditTime: 2022-04-29 15:48:48 + * @LastEditTime: 2022-04-29 17:01:20 * @Description: file content -->