qinglong/back/api/index.ts
2021-03-18 23:51:35 +08:00

15 lines
268 B
TypeScript

import { Router } from 'express';
import auth from './auth';
import cookie from './cookie';
import config from './config';
import log from './log';
export default () => {
const app = Router();
auth(app);
cookie(app);
config(app);
log(app);
return app;
};