12345678910111213141516171819202122232425262728 |
- let BASE_URL = ''
- // if (process.env.NODE_ENV == 'development') {
- // BASE_URL = 'https://api.g.dr1997.com/jeecg-boot/' // 开发环境
- // } else {
- // BASE_URL = 'https://api.g.dr1997.com/jeecg-boot/' // 生产环境
- // }
-
- /* 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
|