Merge branch 'cobaTampilan' of https://git.rssa.top/dwi.firman/cobaKeuangan into keycloak
# Conflicts: # components/Master/CardList.vue # pages/Setting/typeUser/index.vue
This commit is contained in:
4
server/api/menu/listMenu.get.ts
Normal file
4
server/api/menu/listMenu.get.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export default defineEventHandler(async(event)=> {
|
||||
const a = await $fetch("http://10.10.150.131:8080/api/menu/getlist")
|
||||
return a
|
||||
})
|
||||
11
server/api/roleMenu/roleMenu.post.ts
Normal file
11
server/api/roleMenu/roleMenu.post.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export default defineEventHandler(async(event)=> {
|
||||
const body = await readBody(event)
|
||||
console.log(body)
|
||||
const a = await $fetch(`http://10.10.150.131:8080/api/menu/role/type/${body}`,{
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
method: "GET",
|
||||
})
|
||||
return a
|
||||
})
|
||||
4
server/api/typeUser/listTypeUser.get.ts
Normal file
4
server/api/typeUser/listTypeUser.get.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export default defineEventHandler(async(event)=> {
|
||||
const a = await $fetch("http://10.10.150.131:8080/api/menu/type")
|
||||
return a
|
||||
})
|
||||
Reference in New Issue
Block a user