This commit is contained in:
lik
2026-06-02 13:43:56 +08:00
parent 2577c05c72
commit da60f0e3ef
3 changed files with 31 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ function registerRoutes(app) {
const handlerEscortRecord = new HandlerEscortRecord();
const handlerResource = new HandlerResource();
router.get("/escort-record/my", handlerEscortRecord.getMyRecords.bind(handlerEscortRecord));
router.get("/escort-record/my", handlerEscortRecord.getRecords.bind(handlerEscortRecord));
router.get("/escort-record/attendant", handlerEscortRecord.getAttendantRecords.bind(handlerEscortRecord));
router.get("/escort-record/:id", handlerEscortRecord.getRecordById.bind(handlerEscortRecord));
router.post("/escort-record", handlerEscortRecord.createRecord.bind(handlerEscortRecord));