feat: 实现一些用户接口

This commit is contained in:
2024-01-15 00:03:15 +08:00
parent d2a6d7fd58
commit b37c8cbdd9
9 changed files with 1031 additions and 0 deletions

10
src/router.js Normal file
View File

@@ -0,0 +1,10 @@
import express from "express"
import user from "./controllers/user.js"
const router = express.Router({
caseSensitive: true
})
router.use("/user", user)
export default router