het endpoint setting hak akses belum fix
This commit is contained in:
9
server/api/setting/getListMenu.get.ts
Normal file
9
server/api/setting/getListMenu.get.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const res = await $fetch(`http://10.10.150.131:8080/api/menu/getlist`, {
|
||||
method: "GET",
|
||||
headers: {"Content-Type": "application/json"}
|
||||
})
|
||||
// console.log(res)
|
||||
return res
|
||||
})
|
||||
8
server/api/setting/getTipeUser.get.ts
Normal file
8
server/api/setting/getTipeUser.get.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const res = await $fetch(`http://10.10.150.131:8080/api/menu/type`, {
|
||||
method: "GET",
|
||||
headers: {"Content-Type": "application/json"}
|
||||
})
|
||||
// console.log(res)
|
||||
return res
|
||||
})
|
||||
Reference in New Issue
Block a user