1 | export interface IGETPOST {
|
2 | [key: string]: any;
|
3 | }
|
4 | export interface IRoutesHandle {
|
5 | get: IGETPOST;
|
6 | post: IGETPOST;
|
7 | }
|
8 | export class IRoutes {
|
9 | public appName?: string;
|
10 | public routesHandle: IRoutesHandle;
|
11 | public get: (obj: IGETPOST) => void;
|
12 | public post: (obj: IGETPOST) => void;
|
13 | public mergeAppRoutes: (appRoutesHandle: IRoutesHandle) => void;
|
14 |
|
15 |
|
16 | constructor(appName?: string) {
|
17 | this.appName = appName || "";
|
18 | this.routesHandle = {
|
19 | get: {},
|
20 | post: {},
|
21 | };
|
22 | }
|
23 | }
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
\ | No newline at end of file |