feat: 기본 분류 — 관리자 설정 화면 + 사용자 '기본 분류 불러오기'
CI / build (push) Failing after 14m11s

- 관리자 전용 기본 분류 관리 화면(DefaultCategoryView, 계층 드래그) + 라우트/사이드바 링크
- adminApi 기본분류 CRUD/reorder
- CategoryView '기존 분류 불러오기' → '기본 분류 불러오기'(관리자 정의 분류 복사)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-24 23:03:52 +09:00
parent f533df0024
commit dd17fae5f4
5 changed files with 383 additions and 3 deletions
+17
View File
@@ -30,6 +30,23 @@ export const adminApi = {
return http.put('/admin/board-setting', { tagCategoryId })
},
// 기본(디폴트) 분류 관리 (관리자) — 사용자가 '기본 분류 불러오기'로 가져감
defaultCategories() {
return http.get('/admin/default-categories')
},
createDefaultCategory(payload) {
return http.post('/admin/default-categories', payload)
},
updateDefaultCategory(id, payload) {
return http.put(`/admin/default-categories/${id}`, payload)
},
removeDefaultCategory(id) {
return http.delete(`/admin/default-categories/${id}`)
},
reorderDefaultCategories(type, ids) {
return http.put('/admin/default-categories/reorder', { type, ids })
},
// 앱 설정 (관리자)
getSignupSetting() {
return http.get('/admin/signup-setting')