diff --git a/public/data/hostLesson.json b/public/data/hostLesson.json deleted file mode 100644 index ec04614..0000000 --- a/public/data/hostLesson.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "lesson_id": 1, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스 1" - }, - { - "lesson_id": 2, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스 2" - }, - { - "lesson_id": 3, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스 3" - }, - { - "lesson_id": 4, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스 4" - }, - { - "lesson_id": 5, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스 5" - } -] diff --git a/public/data/hostLessonDetail.json b/public/data/hostLessonDetail.json deleted file mode 100644 index 8a6f20d..0000000 --- a/public/data/hostLessonDetail.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "lesson_id": 1, - "title": "클래스 1", - "lessondate_id": 1, - "date": "2024-06-05" - }, - { - "lesson_id": 2, - "title": "클래스 2", - "lessondate_id": 2, - "date": "2024-06-10" - }, - { - "lesson_id": 3, - "title": "클래스 3", - "lessondate_id": 3, - "date": "2024-06-17" - }, - { - "lesson_id": 4, - "title": "클래스 4", - "lessondate_id": 4, - "date": "2024-06-27" - }, - { - "lesson_id": 5, - "title": "클래스 5", - "lessondate_id": 5, - "date": "2024-06-30" - } -] diff --git a/public/data/lessonDetail.json b/public/data/lessonDetail.json deleted file mode 100644 index 8dfb63f..0000000 --- a/public/data/lessonDetail.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "lesson_id": 1, - "image": "../images/mypage/sample_lessoncard", - "title": "한강 카약", - "price": 50000, - "description": "클래스 소개 1", - "location": "서울특별시 자양역", - "materials": "즐거운 마음, 자신감", - "capacity": 10, - "category_name": "스포츠" - }, - { - "lesson_id": 2, - "image": "../images/mypage/sample_lessoncard", - "title": "베이킹", - "price": 50000, - "description": "클래스 소개 2", - "location": "서울특별시 성동구", - "materials": "즐거운 마음, 자신감", - "capacity": 4, - "category_name": "베이킹" - }, - { - "lesson_id": 3, - "image": "../images/mypage/sample_lessoncard", - "title": "향수 제작", - "price": 50000, - "description": "클래스 소개 3", - "location": "서울특별시 동대문구", - "materials": "즐거운 마음, 자신감", - "capacity": 5, - "category_name": "뷰티" - }, - { - "lesson_id": 4, - "image": "../images/mypage/sample_lessoncard", - "title": "가방 제작", - "price": 50000, - "description": "클래스 소개 4", - "location": "서울특별시 동대문구", - "materials": "즐거운 마음, 자신감", - "capacity": 7, - "category_name": "소품" - }, - { - "lesson_id": 5, - "image": "images/mypage/sample_lessoncard", - "title": "컴퓨터 조립", - "price": 50000, - "description": "클래스 소개 5", - "location": "서울특별시 동대문구 알파코", - "materials": "즐거운 마음, 자신감", - "capacity": 3, - "category_name": "자기계발" - } -] diff --git a/public/data/monthRevenue.json b/public/data/monthRevenue.json deleted file mode 100644 index c78ba9b..0000000 --- a/public/data/monthRevenue.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "lesson_id": 1, - "title": "클래스 1", - "revenue": 520000 - }, - { - "lesson_id": 2, - "title": "클래스 2", - "revenue": 70000 - }, - { - "lesson_id": 3, - "title": "클래스 3", - "revenue": 120000 - }, - { - "lesson_id": 4, - "title": "클래스 4", - "revenue": 80000 - }, - { - "lesson_id": 5, - "title": "클래스 5", - "revenue": 450000 - } -] diff --git a/public/data/myLesson.json b/public/data/myLesson.json deleted file mode 100644 index afac857..0000000 --- a/public/data/myLesson.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "point": 1000, - "lessons": [ - { - "reservation_id": 1, - "lessondate_id": 1, - "lesson_id": 1, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스명 1", - "location": "종로구", - "date": "2024-06-25" - }, - { - "reservation_id": 2, - "lessondate_id": 2, - "lesson_id": 2, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스명 2", - "location": "성동구", - "date": "2024-06-25" - }, - { - "reservation_id": 3, - "lessondate_id": 3, - "lesson_id": 3, - "image": "../../images/mypage/sample_lessoncard.png", - "title": "클래스명 3", - "location": "동대문구", - "date": "2024-06-25" - }, - { - "reservation_id": 4, - "lessondate_id": 4, - "lesson_id": 4, - "image": "../../../../images/mypage/sample_lessoncard.png", - "title": "클래스명 4", - "location": "강남구", - "date": "2024-06-25" - }, - { - "reservation_id": 5, - "lessondate_id": 5, - "lesson_id": 5, - "image": "../images/mypage/sample_lessoncard.png", - "title": "클래스명 5", - "location": "마포구", - "date": "2024-06-25" - } - ] -} diff --git a/public/data/myLessonAll.json b/public/data/myLessonAll.json deleted file mode 100644 index 8e1a6cd..0000000 --- a/public/data/myLessonAll.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "reservation_id": 1, - "lessondate_id": 1, - "lesson_id": 1, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스명 1", - "location": "종로구", - "date": "2024-06-01" - }, - { - "reservation_id": 2, - "lessondate_id": 2, - "lesson_id": 2, - "image": "/images/mypage/sample_lessoncard.png", - "title": "클래스명 2", - "location": "성동구", - "date": "2024-06-02" - }, - { - "reservation_id": 3, - "lessondate_id": 3, - "lesson_id": 3, - "image": "../../images/mypage/sample_lessoncard.png", - "title": "클래스명 3", - "location": "동대문구", - "date": "2024-06-26" - }, - { - "reservation_id": 4, - "lessondate_id": 4, - "lesson_id": 4, - "image": "../../../../images/mypage/sample_lessoncard.png", - "title": "클래스명 4", - "location": "강남구", - "date": "2024-06-28" - }, - { - "reservation_id": 5, - "lessondate_id": 5, - "lesson_id": 5, - "image": "../images/mypage/sample_lessoncard.png", - "title": "클래스명 5", - "location": "마포구", - "date": "2024-06-28" - } -] diff --git a/src/apis/apiClient.ts b/src/apis/apiClient.ts index c232385..88ed96f 100644 --- a/src/apis/apiClient.ts +++ b/src/apis/apiClient.ts @@ -11,7 +11,6 @@ import { HostInfoType, } from '../types/host'; import { transactionApi } from './interfaces/transactionApi'; -import { PaybackReqType, QrPayReqType } from '../types/transaction'; export class ApiClient implements userApi, accountApi, hostApi, categoryApi, transactionApi diff --git a/src/apis/interfaces/transactionApi.ts b/src/apis/interfaces/transactionApi.ts index 6a54802..faece1e 100644 --- a/src/apis/interfaces/transactionApi.ts +++ b/src/apis/interfaces/transactionApi.ts @@ -1,5 +1,3 @@ -import { PaybackReqType, QrPayReqType } from '../../types/transaction'; - export interface transactionApi { postQrPay(reqData: QrPayReqType): Promise>;