feat(sub-banner): 가로형 서브 배너 관리 화면 추가

홈/콘텐츠 placement별 가로형 서브 배너의 목록·생성·수정·삭제 UI를 추가한다.

- 관리자 API(/admin/sub-banners) 호출 모듈 추가
- 주소 trim/blank→null 정규화, 최소 1개 주소 및 scheme 검증
- KST yyyy-MM-dd HH:mm 분 단위 기간 직렬화(생략 보존, 명시적 null 해제)
- 수정 시 image 생략으로 기존 이미지 유지, 실패 시 입력·이미지 상태 보존
- 라우터/사이드 메뉴 항목 및 test:sub-banner 스크립트 등록
This commit is contained in:
Yu Sung
2026-10-30 01:02:08 +09:00
parent 63f16091fa
commit abb6481bfc
7 changed files with 1524 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@
"build_development": "vue-cli-service build --mode development",
"test:gift": "node tests/gift.test.js && node tests/gift_category.test.js && node tests/gift_size.test.js && node tests/gift_mailbox.test.js",
"test:banner": "node tests/audio_content_banner.test.js",
"test:sub-banner": "node tests/sub_banner.test.js",
"lint": "vue-cli-service lint"
},
"dependencies": {