xhj 2 роки тому
батько
коміт
6d6ad9e40a
2 змінених файлів з 3 додано та 3 видалено
  1. 2 2
      src/components/materialManage.vue
  2. 1 1
      vue.config.js

+ 2 - 2
src/components/materialManage.vue

@@ -98,7 +98,7 @@ export default {
     },
     data: function () {
         return {
-            uploadurl:process.env.NODE_ENV == 'development'?'/api/sys/oss/upload':'/sys/oss/upload',
+            uploadurl:process.env.NODE_ENV == 'development'?'/sys/oss/upload':'/sys/oss/upload',
             visible: false,
             mixinViewModuleOptions: {
                 getDataListURL: '/material/page',
@@ -132,7 +132,7 @@ export default {
         },
         query: function () {
             that.dataListLoading = true;
-            service.get("/resource/pool/page", {
+            service.get("/sys/oss/ossPage", {
                 params: {
                     page: that.page,
                     limit: that.limit,

+ 1 - 1
vue.config.js

@@ -8,7 +8,7 @@ module.exports = {
     proxy: {
       '/api': {
         // target: 'https://mall.zhiqiyun.com',
-        target: 'http://mptest.zhiqiyun.com',
+        target: 'http://192.168.110.180:8090',
         // target: 'http://kyytest.zhiqiyun.com',
         changeOrigin: true,
         pathRewrite: {