- 관리자 전용 기본 분류 관리 화면(DefaultCategoryView, 계층 드래그) + 라우트/사이드바 링크 - adminApi 기본분류 CRUD/reorder - CategoryView '기존 분류 불러오기' → '기본 분류 불러오기'(관리자 정의 분류 복사) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user