From 65bb0ea1e3b77e9f77ac34e3cbd9a85696c8105f Mon Sep 17 00:00:00 2001 From: ch Date: Mon, 18 Apr 2022 11:09:27 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=94=AE=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api/order.js | 4 ++-- common/utils/requset.js | 6 +++--- manifest.json | 14 ++++---------- pages/order/detail/index.vue | 13 +++++++++---- pages/order/saleAfter/saleAfterDetail/index.vue | 6 ++++-- 5 files changed, 22 insertions(+), 21 deletions(-) diff --git a/common/api/order.js b/common/api/order.js index 00141fc..cf4085d 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-15 11:29:32 + * @LastEditTime: 2022-04-18 11:04:14 * @Description: file content */ import {ToAsyncAwait, MsbRequestTk} from '@/common/utils'; @@ -98,7 +98,7 @@ export const ApiGetSaleAfterOrderList = (params) => * @param {*} data */ export const ApiGetSaleAfterOrderDetail = (params) => - ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/refundOrder/${params.refundId}`)); + ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/refundOrder/refundInfo`, params)); /** * 售后物流公司 * @param {*} data diff --git a/common/utils/requset.js b/common/utils/requset.js index 54d4520..82611e1 100644 --- a/common/utils/requset.js +++ b/common/utils/requset.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-17 17:42:32 * @LastEditors: ch - * @LastEditTime: 2022-04-15 19:13:32 + * @LastEditTime: 2022-04-18 10:04:10 * @Description: 项目接口请求统一处理器,返回一个需要token和不需要token的请求封装方法 */ @@ -11,8 +11,8 @@ import $store from '@/common/store'; const ENV = 'test'; const BASE_URL = { - 'test' : 'http://k8s-horse-gateway.mashibing.cn', - // 'test' : '', + // 'test' : 'http://k8s-horse-gateway.mashibing.cn', + 'test' : '', 'release' : '', 'prod' : '' }; diff --git a/manifest.json b/manifest.json index 670834c..69c42d1 100644 --- a/manifest.json +++ b/manifest.json @@ -77,19 +77,13 @@ "devServer" : { "proxy" : { "/uc/" : { - "target" : "http://192.168.10.52:8090/" + "target" : "http://192.168.10.109:8090/" }, - "/mall/trade/" : { - "target" : "http://192.168.10.52:8090/" - }, - "/mall/base/" : { - "target" : "http://192.168.10.52:8090/" + "/mall/" : { + "target" : "http://192.168.10.109:8090/" }, "/pay/" : { - "target" : "http://192.168.10.52:8090/" - }, - "/mall/product/" : { - "target" : "http://192.168.10.52:8090/" + "target" : "http://192.168.10.109:8090/" } } } diff --git a/pages/order/detail/index.vue b/pages/order/detail/index.vue index 41dc082..efc6d53 100644 --- a/pages/order/detail/index.vue +++ b/pages/order/detail/index.vue @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-03-31 14:26:09 * @LastEditors: ch - * @LastEditTime: 2022-04-15 18:42:30 + * @LastEditTime: 2022-04-18 11:00:17 * @Description: file content -->