123456789101112 |
- const ENV_API_URL = {
- development: {
- url: 'https://fuyu.scapp.cn/wx-api/api',
- // url: 'http://192.168.0.70/api',
- imgUrl: 'https://fuyu.scapp.cn/static/wxa/'
- },
- production: {
- url: 'https://fuyu.scapp.cn/wx-api/api',
- imgUrl: 'https://fuyu.scapp.cn/static/wxa/'
- },
- }
- export const BASE_URL = ENV_API_URL[process.env.NODE_ENV || 'development'];
|