|
|
@ -7,11 +7,11 @@ import store from '@/store/index' |
|
|
|
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://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://14.22.116.132:81/ceres-app-api' : '/api'
|
|
|
|
// export const uploadURL = 'http://14.22.116.132:81/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' |
|
|
|
|
|
|
|
const service = axios.create({ |
|
|
|
baseURL, |
|
|
|