[#44] 매장 기능 도입 #45

Merged
pricelees merged 116 commits from feat/#44 into main 2025-09-20 03:15:06 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit ecf0d6740a - Show all commits

View File

@ -15,8 +15,8 @@ import roomescape.common.dto.response.CommonApiResponse
import roomescape.theme.web.* import roomescape.theme.web.*
@Tag(name = "5. 관리자 테마 API", description = "관리자 페이지에서 테마를 조회 / 추가 / 삭제할 때 사용합니다.") @Tag(name = "5. 관리자 테마 API", description = "관리자 페이지에서 테마를 조회 / 추가 / 삭제할 때 사용합니다.")
interface ThemeAPIV2 { interface ThemeAPI {
@AdminOnly(privilege = Privilege.READ_SUMMARY) @AdminOnly(type = AdminType.HQ, privilege = Privilege.READ_SUMMARY)
@Operation(summary = "모든 테마 조회", description = "관리자 페이지에서 요약된 테마 목록을 조회합니다.", tags = ["관리자 로그인이 필요한 API"]) @Operation(summary = "모든 테마 조회", description = "관리자 페이지에서 요약된 테마 목록을 조회합니다.", tags = ["관리자 로그인이 필요한 API"])
@ApiResponses(ApiResponse(responseCode = "200", description = "성공", useReturnTypeSchema = true)) @ApiResponses(ApiResponse(responseCode = "200", description = "성공", useReturnTypeSchema = true))
fun findAdminThemes(): ResponseEntity<CommonApiResponse<AdminThemeSummaryListResponse>> fun findAdminThemes(): ResponseEntity<CommonApiResponse<AdminThemeSummaryListResponse>>

View File

@ -4,13 +4,13 @@ import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.* import org.springframework.web.bind.annotation.*
import roomescape.common.dto.response.CommonApiResponse import roomescape.common.dto.response.CommonApiResponse
import roomescape.theme.business.ThemeService import roomescape.theme.business.ThemeService
import roomescape.theme.docs.ThemeAPIV2 import roomescape.theme.docs.ThemeAPI
import java.net.URI import java.net.URI
@RestController @RestController
class ThemeController( class ThemeController(
private val themeService: ThemeService, private val themeService: ThemeService,
) : ThemeAPIV2 { ) : ThemeAPI {
@PostMapping("/themes/retrieve") @PostMapping("/themes/retrieve")
override fun findThemesByIds( override fun findThemesByIds(