From 6d93e6cec88996e158a1072b4f13ead4eef3456f Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sun, 10 Mar 2019 15:30:54 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=20url=20=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/mock/admin.js | 4 ++-- admin-web/src/services/admin.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin-web/mock/admin.js b/admin-web/mock/admin.js index 4a9df2b0e..5fac79368 100644 --- a/admin-web/mock/admin.js +++ b/admin-web/mock/admin.js @@ -44,8 +44,8 @@ function getDictionaryText(req, res) { } export default { - 'GET /admin-api/admins/resource/admin_menu_tree': getAdminMenuAll, - 'GET /admin-api/admins/resource/admin_url_list': getAdminUrls, + 'GET /admin-api/admins/admin/menu_resource_tree': getAdminMenuAll, + 'GET /admin-api/admins/admin/url_resource_list': getAdminUrls, 'GET /admin-api/admins/resource/tree': getResourceTree, 'GET /admin-api/admins/role/page': getQueryRole, 'GET /admin-api/admins/admin/page': getQueryRole, diff --git a/admin-web/src/services/admin.js b/admin-web/src/services/admin.js index be01dffab..2aa104b4d 100644 --- a/admin-web/src/services/admin.js +++ b/admin-web/src/services/admin.js @@ -4,11 +4,11 @@ import request from '@/utils/request'; // auth export async function getAdminMenus() { - return request('/admin-api/admins/resource/admin_menu_tree'); + return request('/admin-api/admins/admin/menu_resource_tree'); } export async function getAdminUrls(params) { - return request(`/admin-api/admins/resource/admin_url_list?${stringify(params)}`); + return request(`/admin-api/admins/admin/url_resource_list?${stringify(params)}`); } // admin