Browse Source

修改发布地址

master
panxiaohe 2 years ago
parent
commit
e21bdb4884
  1. 2
      config/index.js
  2. 3
      src/api/nav.js
  3. 2
      src/util/server.js

2
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', // 测试

3
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 () {

2
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({

Loading…
Cancel
Save