This commit is contained in:
2026-01-26 01:09:20 +08:00
parent 911f03b4bd
commit 0f8986b491
5 changed files with 14 additions and 6 deletions

View File

@@ -3,7 +3,8 @@ import { Mini } from "../route.ts";
const app = new Mini();
app.route({
path: 'main'
path: 'main',
id: 'abc'
}).define(async (ctx) => {
ctx.body = {
a: '123'