드래그앤 드랍 및 검색 및 핕터링 기능 구현

This commit is contained in:
hyeonsu
2025-09-02 13:57:53 +09:00
parent 658bc05f21
commit 1cb923a9d9
9 changed files with 432 additions and 87 deletions

View File

@@ -29,6 +29,12 @@ router.get("/categories/:categoryCode/codes", (req, res) =>
router.post("/categories/:categoryCode/codes", (req, res) =>
commonCodeController.createCode(req, res)
);
// 코드 순서 변경 (구체적인 경로를 먼저 배치)
router.put("/categories/:categoryCode/codes/reorder", (req, res) =>
commonCodeController.reorderCodes(req, res)
);
router.put("/categories/:categoryCode/codes/:codeValue", (req, res) =>
commonCodeController.updateCode(req, res)
);
@@ -36,11 +42,6 @@ router.delete("/categories/:categoryCode/codes/:codeValue", (req, res) =>
commonCodeController.deleteCode(req, res)
);
// 코드 순서 변경
router.put("/categories/:categoryCode/codes/reorder", (req, res) =>
commonCodeController.reorderCodes(req, res)
);
// 화면관리용 옵션 조회
router.get("/categories/:categoryCode/options", (req, res) =>
commonCodeController.getCodeOptions(req, res)