Skip to content

Commit

Permalink
Feat: 배너 이미지 기능 API
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsong111 committed May 27, 2024
1 parent 0f99e8e commit 13183f7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/main/java/ac/kr/deu/connect/luck/ad/AdRestController.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package ac.kr.deu.connect.luck.ad

import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController

@Tag(name = "10-Advertisement API", description = "광고 관련 API")
@RestController
class AdRestController {

val adList: List<String> = listOf(
"https://i.ibb.co/tXHJ42V/Lime-Wire-AI-Studio-Asset-7.jpg",
"https://i.ibb.co/MphYSMG/Lime-Wire-AI-Studio-Asset-6.jpg",
"https://i.ibb.co/8X33yyG/Lime-Wire-AI-Studio-Asset-5.jpg",
"https://i.ibb.co/gvmGnq1/Lime-Wire-AI-Studio-Asset-4.jpg",
"https://i.ibb.co/9Zt0868/Lime-Wire-AI-Studio-Asset-3.jpg",
"https://i.ibb.co/m6fwTnX/Lime-Wire-AI-Studio-Asset-2.jpg",
"https://i.ibb.co/c1mr03H/Lime-Wire-AI-Studio-Asset-1.jpg",
"https://i.ibb.co/Q99zZj0/Lime-Wire-AI-Studio-Asset.jpg"
)

@GetMapping("/ad")
fun getAd(): List<String> {
return adList;
}
}

0 comments on commit 13183f7

Please sign in to comment.