重构后端,完善获取资源/下载列表、博客列表接口

This commit is contained in:
2024-08-29 21:59:55 +08:00
parent 2a005b2e14
commit 827fb4169e
17 changed files with 471 additions and 193 deletions

11
Server/src/index.ts Normal file
View File

@@ -0,0 +1,11 @@
import Logger from "./Plugs/Logger";
let logger = new Logger("Server");
logger.info('服务正启动...');
import { server } from "./Server/Server";
async function main() {
server.start();
}
main().catch((err) => {
logger.error(err);
});