Skip to content

Commit

Permalink
Feat: MOVIE ์‚ญ์ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
rrosiee committed May 19, 2024
1 parent 751a8b3 commit 5b518ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import project.backend.domain.culturalevent.entity.CulturalEvent;
import project.backend.domain.culturalevent.mapper.CulturalEventMapper;
import project.backend.domain.culturalevent.service.CulturalEventService;
import project.backend.domain.ticketingsite.service.TicketingSiteService;
import project.backend.domain.culturalevnetcategory.entity.CategoryTitle;
import project.backend.domain.culturalevnetinfo.service.CulturalEventInfoService;
import project.backend.domain.member.entity.Member;
Expand All @@ -33,10 +32,11 @@ public class CulturalEventController {
private final CulturalEventInfoService culturalEventInfoService;
private final TicketingSiteMapper ticketingSiteMapper;
private final MemberJwtService memberJwtService;
private final TicketingSiteService ticketingSiteService;

@ApiOperation(value = "๋ฌธํ™”์ƒํ™œ ๋ฆฌ์ŠคํŠธ ์กฐํšŒ",
notes = " - ordering : ticketOpenDate(๋งˆ๊ฐ ๋‹ค๊ฐ€์˜จ ์ˆœ) | -point(์ธ๊ธฐ์ˆœ)")
notes = "`ordering` : ticketOpenDate(๋งˆ๊ฐ ๋‹ค๊ฐ€์˜จ ์ˆœ) | -point(์ธ๊ธฐ์ˆœ)\n" +
"`latitude` : ์ž…๋ ฅ์‹œ ๋ฐ˜๊ฒฝ 50km ์ด๋‚ด ๋ฌธํ™”์ƒํ™œ\n" +
"`longitude` : ์ž…๋ ฅ์‹œ ๋ฐ˜๊ฒฝ 50km ์ด๋‚ด ๋ฌธํ™”์ƒํ™œ")
@GetMapping
public ResponseEntity getCulturalEventList(
@RequestParam(required = false) CategoryTitle type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Map<CategoryTitle, List<String>> getInterparkGoodsCodeMap() {
Map<CategoryTitle, List<String>> goodsCodeMap = new HashMap<>();

for (CategoryTitle categoryTitle : CategoryTitle.values()) {
if (categoryTitle != CategoryTitle.MOVIE && categoryTitle != categoryTitle.ALL) {
if (categoryTitle != categoryTitle.ALL) {
List<String> goodsCodeList = new ArrayList<>();
UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromHttpUrl(baseUrl)
.queryParam("genre", categoryTitle.getType())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ public enum CategoryTitle {
MUSICAL("MUSICAL", "๋ฎค์ง€์ปฌ", 2),
DRAMA("DRAMA", "์—ฐ๊ทน", 3),
CONCERT("CONCERT", "์ฝ˜์„œํŠธ", 4),
EXHIBIT("EXHIBIT", "์ „์‹œํšŒ", 5),
MOVIE("MOVIE", "์˜ํ™”", 6);
EXHIBIT("EXHIBIT", "์ „์‹œํšŒ", 5);

private final String type;
private final String name;
Expand Down

0 comments on commit 5b518ba

Please sign in to comment.