关于login重构
This commit is contained in:
@@ -2,6 +2,7 @@ import { app } from '@/app.ts';
|
||||
import { AppModel } from '../module/index.ts';
|
||||
|
||||
// curl http://localhost:4005/api/router?path=app&key=public-list
|
||||
// TODO:
|
||||
app
|
||||
.route({
|
||||
path: 'app',
|
||||
@@ -12,6 +13,9 @@ app
|
||||
where: {
|
||||
status: 'running',
|
||||
},
|
||||
// attributes: {
|
||||
// exclude: ['data'],
|
||||
// },
|
||||
logging: false,
|
||||
});
|
||||
ctx.body = list;
|
||||
|
||||
Reference in New Issue
Block a user