修改了employee相关

This commit is contained in:
lik
2026-10-06 21:44:42 +08:00
parent 0e81341bff
commit 7fc91b75f7
7 changed files with 309 additions and 9 deletions
+2
View File
@@ -76,6 +76,8 @@ function registerRoutes(app) {
// 陪诊师公示(公开):面向 C 端患者展示陪同人员信息。
// 与上面的 /service、/agreement 一样属公示类资源,不加 requireAuth
router.get("/attendant", handlerEmployee.getAttendants.bind(handlerEmployee));
// 单个陪诊师详情。必须注册在 /attendant 之后,避免被它抢匹配
router.get("/attendant/:id", handlerEmployee.getAttendantById.bind(handlerEmployee));
app.use(router.routes());
app.use(router.allowedMethods());