feat: 사용자 관리를 회원 관리(관리자)로 전환
CI / build (push) Failing after 14m56s

데모 user 대신 member 기반. 목록·검색·역할·상태 변경·삭제, 관리자 전용·모바일 대응

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-05-31 19:02:05 +09:00
parent 510eb0f4f8
commit 245c026e50
4 changed files with 244 additions and 147 deletions
+14
View File
@@ -29,4 +29,18 @@ export const adminApi = {
setBoardSetting(tagCategoryId) {
return http.put('/admin/board-setting', { tagCategoryId })
},
// 회원 관리 (관리자)
members() {
return http.get('/admin/members')
},
updateMemberRole(id, role) {
return http.put(`/admin/members/${id}/role`, { role })
},
updateMemberStatus(id, status) {
return http.put(`/admin/members/${id}/status`, { status })
},
removeMember(id) {
return http.delete(`/admin/members/${id}`)
},
}