LiGuang 2 år sedan
förälder
incheckning
71ae268863
1 ändrade filer med 4 tillägg och 11 borttagningar
  1. 4 11
      common/service/config.service.js

+ 4 - 11
common/service/config.service.js

@@ -1,23 +1,16 @@
 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') {
+//开发环境
+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 = {