save roleMenuUser belum fix
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
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"}
|
||||
const body = await readBody(event)
|
||||
console.log(body)
|
||||
const res = await $fetch(`http://10.10.150.131:8080/api/menu/role/insert`, {
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json"},
|
||||
body:body
|
||||
})
|
||||
// console.log(res)
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user