后端链接数据库

This commit is contained in:
aixianling
2022-12-30 11:53:48 +08:00
parent cfaef6713b
commit cf5f60a049
8 changed files with 97 additions and 1 deletions

4
server/app/router.js Normal file
View File

@@ -0,0 +1,4 @@
module.exports = (app) => {
const { router, controller } = app;
router.get('/', controller.home.index);
};