123456789101112131415161718 |
- const ENV_API_URL = {
- // development: {
- // url: 'http://192.168.0.18:7070/api',
- // imgUrl: 'http://192.168.0.19/static/wxa',
- // fileUrl: 'http://192.168.0.18:80'
- // },
- development: {
- url: 'https://fuyu.cc-lotus.info/wx-api/api',
- imgUrl: 'https://fuyu.cc-lotus.info/static/wxa',
- fileUrl: 'https://fuyu.cc-lotus.info'
- },
- production: {
- url: 'https://fuyu.scapp.cn/wx-api/api',
- imgUrl: 'https://fuyu.scapp.cn/static/wxa/',
- fileUrl: 'https://fuyu.scapp.cn'
- },
- }
- export const BASE_URL = ENV_API_URL[process.env.NODE_ENV || 'development'];
|