2024-01-15 00:03:15 +08:00
|
|
|
import express from "express"
|
|
|
|
|
import user from "./controllers/user.js"
|
2024-10-13 22:56:22 +08:00
|
|
|
import sample from "./controllers/sample.js"
|
2024-01-15 00:03:15 +08:00
|
|
|
|
|
|
|
|
const router = express.Router({
|
|
|
|
|
caseSensitive: true
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
router.use("/user", user)
|
2024-10-13 22:56:22 +08:00
|
|
|
router.use("/sample", sample)
|
2024-01-15 00:03:15 +08:00
|
|
|
|
|
|
|
|
export default router
|