xhj před 2 roky
rodič
revize
07159988f8
2 změnil soubory, kde provedl 7 přidání a 2 odebrání
  1. 5 2
      .env.test
  2. 2 0
      vue.config.js

+ 5 - 2
.env.test

@@ -1,5 +1,8 @@
 NODE_ENV = test
 # 测试环境的ip端口
-VUE_APP_BASE_API = 'http://mptest.tongyu99.com'
+#VUE_APP_BASE_API = 'http://mptest.tongyu99.com'
+VUE_APP_BASE_API = 'http://mptest.zhiqiyun.com'
 # 快应用测试地址
-# VUE_APP_BASE_API = 'http://kyytest.tongyu99.com'
+# VUE_APP_BASE_API = 'http://kyytest.zhiqiyun.com'
+# 本地测试地址
+VUE_APP_BASE_API = 'http://192.168.110.180:8090'

+ 2 - 0
vue.config.js

@@ -7,7 +7,9 @@ module.exports = {
   devServer: process.env.NODE_ENV == 'development'?{
     proxy: {
       '/api': {
+        // target: 'https://mall.zhiqiyun.com',
         target: 'http://mptest.zhiqiyun.com',
+        // target: 'http://kyytest.zhiqiyun.com',
         changeOrigin: true,
         pathRewrite: {
           '^/api': ''