duanxiaoduan 1 year ago
parent
commit
a2d8c337e6
2 changed files with 6 additions and 3 deletions
  1. 4 2
      .env.development
  2. 2 1
      .env.production

+ 4 - 2
.env.development

@@ -3,8 +3,10 @@ ENV = 'development'
 
 # base api
 # 测试线
-
-VUE_APP_BASE_API = 'http://192.168.1.70:8082/'
+# VUE_APP_BASE_API = 'http://192.168.1.70:8082/'
+# VUE_APP_BASE_API = 'http://kpttest.kptyun.com/'
+# 白少后台本地
+VUE_APP_BASE_API = 'http://192.168.1.77:8081/'
 # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
 # to control whether the babel-plugin-dynamic-import-node plugin is enabled.
 # It only does one thing by converting all import() to require().

+ 2 - 1
.env.production

@@ -4,4 +4,5 @@ ENV = 'production'
 # base api
 # 正式线
 # VUE_APP_BASE_API = ':8081/'
-VUE_APP_BASE_API = 'http://192.168.1.70:8088/'
+# VUE_APP_BASE_API = 'http://192.168.1.70:8088/'
+VUE_APP_BASE_API = 'http://127.0.0.1:8081/'