generated from tailored/router-db-template
update
This commit is contained in:
14
packages/xhs/src/routes/notes/create-note.ts
Normal file
14
packages/xhs/src/routes/notes/create-note.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { app, xhsServices } from '@kevisual/xhs/app.ts';
|
||||
|
||||
app
|
||||
.route({
|
||||
path: 'note',
|
||||
key: 'create',
|
||||
})
|
||||
.define(async (ctx) => {
|
||||
const client = xhsServices.getClient();
|
||||
const res = await client.c
|
||||
if (res.code === 0) {
|
||||
}
|
||||
})
|
||||
.addTo(app);
|
||||
1
packages/xhs/src/routes/notes/index.ts
Normal file
1
packages/xhs/src/routes/notes/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
import './create-note.ts'
|
||||
Reference in New Issue
Block a user