north 8 жил өмнө
parent
commit
ba9f828724

+ 4 - 1
www/vue/config/index.js

@@ -30,7 +30,10 @@ module.exports = {
     proxyTable: {
       '/o2o': {
         target: apiPath+'/index.php?r=', //你的目标域名
-        changeOrigin: true
+        changeOrigin: true,
+        pathRewrite: {
+          '^/o2o': ''
+        }
       },
     },
     // CSS Sourcemaps off by default because relative paths are "buggy"

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
www/vue/dist/static/js/app.js


+ 1 - 1
www/vue/src/config/api.js

@@ -1,5 +1,5 @@
 import axios from 'axios'
-let apiPath = 'http://apitest.yiguanjia.me/index.php?r='
+let apiPath = 'http://commontest.yiguanjia.me/index.php?r='
 // let apiPath = ''
 var formData = new FormData()
 formData.append('user_id', '57e238929f5160d6048b456d')

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно