-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4deb9d0
commit 03806d7
Showing
3 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Content-Type: application/json | |
{ | ||
"name": "팀 스포너스", | ||
"email": "[email protected]", | ||
"password": "password12345", | ||
"password": "password1234", | ||
"location": "none", | ||
"organizationType": "STUDENT", | ||
"suborganizationType": "STUDENT_COUNCIL", | ||
|
@@ -26,19 +26,19 @@ Content-Type: application/json | |
|
||
{ | ||
"email": "[email protected]", | ||
"password": "password12345" | ||
"password": "password1234" | ||
} | ||
|
||
### | ||
### 공고 생성 | ||
POST http://localhost:8080/api/v1/announcement | ||
Authorization: Bearer {{matsterToken}} | ||
Content-Type: application/json | ||
|
||
{ | ||
"title": "title", | ||
"title": "무신사 스폰서십", | ||
"type": "SPONSORSHIP", | ||
"category": "IDEA", | ||
"content": "content", | ||
"category": "MARKETING", | ||
"content": "무신사 스폰서십을 진행할 대학교 학생회를 모집합니다.", | ||
"status": "POSTED" | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
INSERT INTO organization (organization_name, | ||
organization_email, | ||
organization_password, | ||
organization_location, | ||
organization_type, | ||
suborganization_type, | ||
manager_name, | ||
manager_position, | ||
manager_email, | ||
manager_phone, | ||
manager_available_day, | ||
manager_available_hour, | ||
manager_contact_preference, | ||
organization_status) | ||
VALUES ('팀 스포너스', | ||
'[email protected]', | ||
'$2a$10$tzrzG/BSFrrye7Kbm4qPYuP6jaQcj5TX5ER1.X/THqkudiSjtEmWW', | ||
'서울특별시 강남구 테헤란로 427', | ||
'STUDENT', | ||
'STUDENT_COUNCIL', | ||
'이가은', | ||
'Project Manager', | ||
'[email protected]', | ||
'01012345678', | ||
'월-금', | ||
'09:00-18:00', | ||
'EMAIL', | ||
'ACTIVE'); | ||
|
||
INSERT INTO announcement (announcement_title, | ||
announcement_type, | ||
announcement_category, | ||
announcement_content, | ||
announcement_status, | ||
view_count, | ||
organization_id) | ||
VALUES ('무신사 스폰서십', | ||
'SPONSORSHIP', | ||
'MARKETING', | ||
'무신사 스폰서십을 진행할 대학교 학생회를 모집합니다.', | ||
'POSTED', | ||
0, 1); |