Browse Source

修改链接地址

master
xh-pan1 5 months ago
parent
commit
de29b068d9
  1. 2
      config/index.js
  2. 2
      src/api/nav.js
  3. 4
      src/util/server.js

2
config/index.js

@ -16,7 +16,7 @@ module.exports = {
'/api': {
// target: 'https://ceres.zkthink.com/api', // 测试
// target: 'http://localhost:9007', // 测试
target: 'http://122.9.152.120/ceres-app-api', //
target: 'http://36.138.125.206:8081/ceres-app-api', //
// target: 'https://shopapi.zkthink.com', // 测试
// target: 'http://3j073r3905.qicp.vip', // 测试
// target: 'http://3j073r3905.qicp.vip:29544', // 测试

2
src/api/nav.js

@ -1,7 +1,7 @@
import request from '@/util/server.js'
// export const settled = 'https://wechat.hnthee.com/ceres-settled-merchant/#/' // 商家入驻地址
export const settled = 'http://122.9.152.120/ceres-settled-merchant/#/' // 商家入驻地址
export const settled = 'http://36.138.125.206:8081/ceres-settled-merchant/#/' // 商家入驻地址
// 获取首页导航栏分类
export function getCategory () {

4
src/util/server.js

@ -9,8 +9,8 @@ import router from '../router'
import Cookie from 'js-cookie'
promise.polyfill()
export const baseURL = (process.env.NODE_ENV === 'production') ? 'http://122.9.152.120/ceres-app-api' : '/api'
export const uploadURL = 'http://122.9.152.120/ceres-app-api/api'
export const baseURL = (process.env.NODE_ENV === 'production') ? 'http://36.138.125.206:8081/ceres-app-api' : '/api'
export const uploadURL = 'http://36.138.125.206:8081/ceres-app-api/api'
// export const baseURL = (process.env.NODE_ENV === 'production') ? 'https://wechat.hnthee.com/ceres-app-api' : '/api'
// export const uploadURL = 'https://wechat.hnthee.com/ceres-app-api/api'

Loading…
Cancel
Save