From 1143c1d9a15f91f6e61786bda25993bbb2560c1e Mon Sep 17 00:00:00 2001 From: wanghao7717 <792974788@qq.com> Date: Mon, 13 Jan 2025 15:50:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=80=E9=94=AE=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0nexus=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-core/config/menu-api-map.json | 8 ++++---- wecube-portal/src/api/server.js | 2 +- wecube-portal/src/api/server.json | 2 +- .../export/components/custom-management.vue | 12 ++++++++---- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/platform-core/config/menu-api-map.json b/platform-core/config/menu-api-map.json index 4f0d7671fa..eb43162675 100644 --- a/platform-core/config/menu-api-map.json +++ b/platform-core/config/menu-api-map.json @@ -136,7 +136,7 @@ "method": "get" }, { - "url": "platform/v1/models", + "url": "/platform/v1/models", "method": "get" }, { @@ -188,7 +188,7 @@ "method": "post" }, { - "url": "platform/v1/plugins/objectmetas/id/${objectMetaId}", + "url": "/platform/v1/plugins/objectmetas/id/${objectMetaId}", "method": "get" }, { @@ -226,7 +226,7 @@ "method": "get" }, { - "url": "/platform/v1/packages?all=${isRetrieveAllPluginPackages}", + "url": "/platform/v1/packages", "method": "get" }, { @@ -1095,7 +1095,7 @@ }, { "key": "getNexusConfig", - "url": "/platform/v1/resource/items/nexus", + "url": "/platform/v1/data/transfer/export/nexus", "method": "GET" } ] diff --git a/wecube-portal/src/api/server.js b/wecube-portal/src/api/server.js index 71e4d14cf5..c8f05841e1 100755 --- a/wecube-portal/src/api/server.js +++ b/wecube-portal/src/api/server.js @@ -392,7 +392,7 @@ export const addCustomer = data => req.post('/platform/v1/data/transfer/export/c // 删除客户 export const deleteCustomer = id => req.delete(`/platform/v1/data/transfer/export/customer?id=${id}`) // 获取nexus配置详情 -export const getNexusConfig = () => req.get('/platform/v1/resource/items/nexus') +export const getNexusConfig = () => req.get('/platform/v1/data/transfer/export/nexus') // 资源管理-资源实例重构 // 新增资源实例 diff --git a/wecube-portal/src/api/server.json b/wecube-portal/src/api/server.json index 571c1037d6..7a64d6a093 100644 --- a/wecube-portal/src/api/server.json +++ b/wecube-portal/src/api/server.json @@ -1393,7 +1393,7 @@ }, { "key": "getNexusConfig", - "path": "/platform/v1/resource/items/nexus", + "path": "/platform/v1/data/transfer/export/nexus", "method": "get", "description": "获取nexus配置" } diff --git a/wecube-portal/src/pages/admin/base-migration/export/components/custom-management.vue b/wecube-portal/src/pages/admin/base-migration/export/components/custom-management.vue index 8b4d725db4..6bd2759592 100644 --- a/wecube-portal/src/pages/admin/base-migration/export/components/custom-management.vue +++ b/wecube-portal/src/pages/admin/base-migration/export/components/custom-management.vue @@ -2,7 +2,7 @@ * @Author: wanghao7717 792974788@qq.com * @Date: 2025-01-07 20:01:01 * @LastEditors: wanghao7717 792974788@qq.com - * @LastEditTime: 2025-01-13 14:57:28 + * @LastEditTime: 2025-01-13 15:21:35 -->