Browse Source

正式服ip地址

panhui 2 years ago
parent
commit
d61bf3d221
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/plugins/http.js

+ 2 - 2
src/plugins/http.js

@@ -12,10 +12,10 @@ switch (process.env.NODE_ENV) {
         // baseUrl = 'http://192.168.50.190:8080'; 
         // baseUrl = 'http://192.168.50.190:8080'; 
         break;
         break;
     case 'test':
     case 'test':
-        baseUrl = 'http://localhost:8080';
+        baseUrl = 'http://www.yzjrzc.com';
         break;
         break;
     case 'production':
     case 'production':
-        baseUrl = '../../';
+        baseUrl = 'http://www.yzjrzc.com';
         break;
         break;
 }
 }
 const axiosInstance = axios.create({
 const axiosInstance = axios.create({