修改了employee相关
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user