Compare commits

..

2 Commits

2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ const sampleSchema = new Schema({
// 批次号字符串 L414-5KR-7-240703
batchString: { type: String },
// 样品 ID 01
// 样品 ID L414-5KR-7-240703-01
id: { type: String },
// 送样时间

View File

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