|
@@ -1,23 +1,16 @@
|
|
let BASE_URL = ''
|
|
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') {
|
|
/* if (process.env.NODE_ENV == 'development') {
|
|
BASE_URL = 'http://58.34.141.138:8085/jeecg-boot' // 开发环境
|
|
BASE_URL = 'http://58.34.141.138:8085/jeecg-boot' // 开发环境
|
|
} else {
|
|
} else {
|
|
BASE_URL = 'http://58.34.141.138:8085/jeecg-boot' // 生产环境
|
|
BASE_URL = 'http://58.34.141.138:8085/jeecg-boot' // 生产环境
|
|
} */
|
|
} */
|
|
-
|
|
|
|
- if (process.env.NODE_ENV == 'development') {
|
|
|
|
|
|
+//开发环境
|
|
|
|
+if (process.env.NODE_ENV == 'development') {
|
|
BASE_URL = 'http://localhost:8085/jeecg-boot/' // 开发环境
|
|
BASE_URL = 'http://localhost:8085/jeecg-boot/' // 开发环境
|
|
} else {
|
|
} else {
|
|
BASE_URL = 'http://localhost:8085/jeecg-boot/' // 生产环境
|
|
BASE_URL = 'http://localhost:8085/jeecg-boot/' // 生产环境
|
|
-}
|
|
|
|
|
|
+}
|
|
let staticDomainURL = BASE_URL+ '/sys/common/static';
|
|
let staticDomainURL = BASE_URL+ '/sys/common/static';
|
|
|
|
|
|
const configService = {
|
|
const configService = {
|