This commit is contained in:
bipproduction
2025-10-13 16:57:03 +08:00
parent b5ea26217d
commit dd6ca462a9
3 changed files with 31 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
import Elysia from "elysia";
import { t } from "elysia";
const AduanRoute = new Elysia({
prefix: "aduan",
tags: ["aduan"],
})
.post("/create", () => {
return {
success: true,
data: ""
}
}, {
body: t.Object({
title: t.String(),
description: t.String(),
}),
detail: {
summary: "create",
description: "create aduan",
}
})
export default AduanRoute