generated from tailored/router-template
15 lines
289 B
TypeScript
15 lines
289 B
TypeScript
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.getNote({});
|
|
// if (res.code === 0) {
|
|
// }
|
|
})
|
|
.addTo(app);
|