Files
Yi.Admin/Yi.Vue2.x/src/api/userApi.js

22 lines
514 B
JavaScript
Raw Normal View History

2022-04-26 01:34:47 +08:00
import myaxios from '@/util/myaxios'
export default {
GetUserInRolesByHttpUser() {
return myaxios({
url: `/User/GetUserInRolesByHttpUser`,
method: 'get'
})
},
GetMenuByHttpUser() {
return myaxios({
url: `/User/GetMenuByHttpUser`,
method: 'get'
})
},
GetRoleListByUserId(userId) {
2022-04-26 01:34:47 +08:00
return myaxios({
url: `/User/GetRoleListByUserId?userId=${userId}`,
2022-04-26 01:34:47 +08:00
method: 'get'
})
},
2022-04-26 01:34:47 +08:00
}