重构控制器
This commit is contained in:
@@ -41,9 +41,9 @@ export default {
|
||||
data: { id1: menuId, id2: mouldId }
|
||||
})
|
||||
},
|
||||
geTopMenuByUser() {
|
||||
GetTopMenusByHttpUser() {
|
||||
return myaxios({
|
||||
url: '/Menu/geTopMenuByUser',
|
||||
url: '/Menu/GetTopMenusByHttpUser',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -8,9 +8,9 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
GetRolesByUser() {
|
||||
GetRolesByHttpUser() {
|
||||
return myaxios({
|
||||
url: '/User/GetRolesByUser',
|
||||
url: '/User/GetRolesByHttpUser',
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
@@ -20,19 +20,19 @@ export default {
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
GetUserInfoById() {
|
||||
GetUserInRolesByHttpUser() {
|
||||
return myaxios({
|
||||
url: `/User/GetUserInfoById`,
|
||||
url: `/User/GetUserInRolesByHttpUser`,
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
GetMenuByUserId() {
|
||||
GetMenuByHttpUser() {
|
||||
return myaxios({
|
||||
url: `/User/GetMenuByUserId`,
|
||||
url: `/User/GetMenuByHttpUser`,
|
||||
method: 'get'
|
||||
})
|
||||
},
|
||||
GetRouterByUserId(router) {
|
||||
GetAxiosByRouter(router) {
|
||||
return myaxios({
|
||||
url: `/User/GetRouterByUserId?router=${router}`,
|
||||
method: 'get'
|
||||
|
||||
Reference in New Issue
Block a user