|
@ -2,7 +2,7 @@ |
|
|
import home from './home' |
|
|
import home from './home' |
|
|
|
|
|
|
|
|
// 获取当前环境变量 true => 生产环境 false => 开发环境
|
|
|
// 获取当前环境变量 true => 生产环境 false => 开发环境
|
|
|
const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://122.9.152.120/ceres-app-api' : '/api' |
|
|
|
|
|
|
|
|
const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://36.138.125.206:8081/ceres-app-api' : '/api' |
|
|
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'https://wechat.hnthee.com/ceres-app-api' : '/api'
|
|
|
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'https://wechat.hnthee.com/ceres-app-api' : '/api'
|
|
|
|
|
|
|
|
|
export const api = { |
|
|
export const api = { |
|
|