From e21bdb4884288601c8fff16cc271e4a35f67d111 Mon Sep 17 00:00:00 2001 From: panxiaohe <1074118755@qq.com> Date: Thu, 2 Mar 2023 06:22:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E5=B8=83=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- src/api/nav.js | 3 ++- src/util/server.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index 42e8250..e1099d9 100644 --- a/config/index.js +++ b/config/index.js @@ -17,7 +17,7 @@ module.exports = { '/api': { // target: 'https://ceres.zkthink.com/api', // 测试 //target: 'http://localhost:9007', // 测试 - target: 'http://122.9.152.120/ceres-admin-api', // + target: 'http://122.9.152.120/ceres-app-api', // // target: 'https://shopapi.zkthink.com', // 测试 // target: 'http://3j073r3905.qicp.vip', // 测试 // target: 'http://3j073r3905.qicp.vip:29544', // 测试 diff --git a/src/api/nav.js b/src/api/nav.js index a0040f3..f452271 100644 --- a/src/api/nav.js +++ b/src/api/nav.js @@ -1,6 +1,7 @@ import request from '@/util/server.js' -export const settled = 'https://ceres.zkthink.com/settled-merchant/#/' // 商家入驻地址 +// export const settled = 'https://ceres.zkthink.com/settled-merchant/#/' // 商家入驻地址 +export const settled = 'http://122.9.152.120/ceres-settled-merchant/#/' // 商家入驻地址 // 获取首页导航栏分类 export function getCategory () { diff --git a/src/util/server.js b/src/util/server.js index 537003e..ee4a27a 100644 --- a/src/util/server.js +++ b/src/util/server.js @@ -7,7 +7,7 @@ import store from '@/store/index' import Cookie from 'js-cookie' promise.polyfill() -export const baseURL = (process.env.NODE_ENV === 'production') ? '/api' : '/api' +export const baseURL = (process.env.NODE_ENV === 'production') ? 'http://122.9.152.120/ceres-app-api' : '/api' export const uploadURL = 'https://ceres.zkthink.com/api' const service = axios.create({