eacnet framework

This commit is contained in:
GEEKiDoS
2024-04-08 20:30:45 +08:00
parent 6fc9a884f9
commit 7803d4bc85
31 changed files with 759 additions and 837 deletions
+2 -7
View File
@@ -2,9 +2,7 @@ import { Logger } from '@cordisjs/logger';
import { DefaultState, ParameterizedContext } from 'koa';
export interface ILaochanContext {
model?: string;
tag?: string;
pcbid?: string;
token?: string;
service: {
name: string,
@@ -12,10 +10,7 @@ export interface ILaochanContext {
};
logger: Logger;
request: {
body: Buffer | object | undefined;
};
body?: unknown;
}
export type Context = ParameterizedContext<DefaultState, ILaochanContext, any>;