rename controller
This commit is contained in:
parent
dcb6991de9
commit
b6b9847120
@ -6,7 +6,6 @@ plugins {
|
||||
kotlin("jvm") version "1.5.20"
|
||||
kotlin("plugin.spring") version "1.5.20"
|
||||
}
|
||||
|
||||
group = "email.timemail"
|
||||
version = "0.0.1-SNAPSHOT"
|
||||
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
@ -15,6 +14,14 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
buildscript {
|
||||
ext {
|
||||
val kotlinVersion = "1.2.20"
|
||||
val springBootVersion = "2.0.0.RELEASE"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.springframework.boot:spring-boot-starter")
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
@ -23,7 +30,7 @@ dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
implementation("com.github.xiaoymin:knife4j-spring-boot-starter:3.0.2")
|
||||
implementation("com.baomidou:mybatis-plus-boot-starter:3.4.2")
|
||||
implementation("com.baomidou:mybatis-plus-boot-starter:${ext}")
|
||||
implementation("com.alibaba:druid-spring-boot-starter:1.2.5")
|
||||
implementation("org.postgresql:postgresql:42.2.18")
|
||||
implementation("org.projectlombok:lombok:1.18.12")
|
||||
|
||||
@ -6,7 +6,7 @@ import springfox.documentation.annotations.ApiIgnore
|
||||
|
||||
@Controller
|
||||
@ApiIgnore
|
||||
open class IndexController {
|
||||
open class HomeController {
|
||||
@RequestMapping(value = ["/", "/swagger"])
|
||||
open fun index(): String {
|
||||
return "redirect:doc.html"
|
||||
7
versions.kts
Normal file
7
versions.kts
Normal file
@ -0,0 +1,7 @@
|
||||
object Versions {
|
||||
internal const val knife4j = "3.0.2"
|
||||
internal const val mybatis_plus = "3.4.2"
|
||||
}
|
||||
|
||||
object Deps {
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user