123456789101112131415161718192021 |
- let BASE_URL = ''
- //生产环境
- /* if (process.env.NODE_ENV == 'development') {
- BASE_URL = 'http://58.34.141.138:8085/jeecg-boot' // 开发环境
- } else {
- BASE_URL = 'http://58.34.141.138:8085/jeecg-boot' // 生产环境
- } */
- //开发环境
- if (process.env.NODE_ENV == 'development') {
- BASE_URL = 'http://localhost:8085/jeecg-boot/' // 开发环境
- } else {
- BASE_URL = 'http://localhost:8085/jeecg-boot/' // 生产环境
- }
- let staticDomainURL = BASE_URL+ '/sys/common/static';
- const configService = {
- apiUrl: BASE_URL,
- staticDomainURL: staticDomainURL
- };
- export default configService
|