LiGuang il y a 2 ans
Parent
commit
71ae268863
1 fichiers modifiés avec 4 ajouts et 11 suppressions
  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 = {