- 修改 url 地址,
This commit is contained in:
parent
eba89f3113
commit
6d93e6cec8
@ -44,8 +44,8 @@ function getDictionaryText(req, res) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'GET /admin-api/admins/resource/admin_menu_tree': getAdminMenuAll,
|
'GET /admin-api/admins/admin/menu_resource_tree': getAdminMenuAll,
|
||||||
'GET /admin-api/admins/resource/admin_url_list': getAdminUrls,
|
'GET /admin-api/admins/admin/url_resource_list': getAdminUrls,
|
||||||
'GET /admin-api/admins/resource/tree': getResourceTree,
|
'GET /admin-api/admins/resource/tree': getResourceTree,
|
||||||
'GET /admin-api/admins/role/page': getQueryRole,
|
'GET /admin-api/admins/role/page': getQueryRole,
|
||||||
'GET /admin-api/admins/admin/page': getQueryRole,
|
'GET /admin-api/admins/admin/page': getQueryRole,
|
||||||
|
@ -4,11 +4,11 @@ import request from '@/utils/request';
|
|||||||
// auth
|
// auth
|
||||||
|
|
||||||
export async function getAdminMenus() {
|
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) {
|
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
|
// admin
|
||||||
|
Loading…
Reference in New Issue
Block a user