diff --git a/common/api/order.js b/common/api/order.js index c35c95d..28cca3f 100644 --- a/common/api/order.js +++ b/common/api/order.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-29 17:38:17 * @LastEditors: ch - * @LastEditTime: 2022-04-22 22:22:51 + * @LastEditTime: 2022-04-27 11:41:20 * @Description: file content */ import {ToAsyncAwait, MsbRequestTk} from '@/common/utils'; @@ -74,8 +74,8 @@ export const ApiPutCancelOrder = (data) => * @param {*} data */ export const ApiPostWxPay = (data) => - // ToAsyncAwait(MsbRequestTk.post(`${BASE_URL}/pay/wxPay/app`, data)); - ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/pay/payTest`, data)); + ToAsyncAwait(MsbRequestTk.post(`${BASE_URL}/pay/wxPay/h5`, data)); + // ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/pay/payTest`, data)); /** * 获取订单统计数据 diff --git a/common/utils/requset.js b/common/utils/requset.js index 7a70059..60c7597 100644 --- a/common/utils/requset.js +++ b/common/utils/requset.js @@ -2,17 +2,17 @@ * @Author: ch * @Date: 2022-03-17 17:42:32 * @LastEditors: ch - * @LastEditTime: 2022-04-26 18:13:01 + * @LastEditTime: 2022-04-27 11:45:52 * @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://like-app.mashibing.com/test', - // 'test' : '', + // 'test' : 'https://k8s-horse-gateway.mashibing.cn', + 'test' : '', 'release' : '', 'prod' : '//like-gateway.mashibing.com' }; diff --git a/h5/index.html b/h5/index.html index 3a49832..c8bc55b 100644 --- a/h5/index.html +++ b/h5/index.html @@ -1,2 +1,2 @@