diff --git a/settings.gradle.kts b/settings.gradle.kts index 038d43c..55a7402 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,7 +3,7 @@ include(":static") pluginManagement { repositories { - maven("https://maven.aliyun.com/repository/gradle-plugin") + // maven("https://maven.aliyun.com/repository/gradle-plugin") gradlePluginPortal() } } diff --git a/src/main/kotlin/top/lolosia/web/controller/LoginController.kt b/src/main/kotlin/top/lolosia/web/controller/LoginController.kt index 2455d62..13b2f4a 100644 --- a/src/main/kotlin/top/lolosia/web/controller/LoginController.kt +++ b/src/main/kotlin/top/lolosia/web/controller/LoginController.kt @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController -@RequestMapping("/api") +@RequestMapping("/home/api") class LoginController { @Autowired diff --git a/src/main/kotlin/top/lolosia/web/controller/system/RoleController.kt b/src/main/kotlin/top/lolosia/web/controller/system/RoleController.kt index 5c9e93d..5d3e411 100644 --- a/src/main/kotlin/top/lolosia/web/controller/system/RoleController.kt +++ b/src/main/kotlin/top/lolosia/web/controller/system/RoleController.kt @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController -@RequestMapping("/api/role") +@RequestMapping("/home/api/role") class RoleController { @Autowired diff --git a/src/main/kotlin/top/lolosia/web/controller/system/UserController.kt b/src/main/kotlin/top/lolosia/web/controller/system/UserController.kt index b62088d..cf7628b 100644 --- a/src/main/kotlin/top/lolosia/web/controller/system/UserController.kt +++ b/src/main/kotlin/top/lolosia/web/controller/system/UserController.kt @@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.* import org.springframework.web.server.ServerWebExchange @RestController -@RequestMapping("/api/user") +@RequestMapping("/home/api/user") class UserController { @Autowired diff --git a/src/main/kotlin/top/lolosia/web/controller/system/UserRoleController.kt b/src/main/kotlin/top/lolosia/web/controller/system/UserRoleController.kt index e28902a..43da505 100644 --- a/src/main/kotlin/top/lolosia/web/controller/system/UserRoleController.kt +++ b/src/main/kotlin/top/lolosia/web/controller/system/UserRoleController.kt @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @RestController -@RequestMapping("/api/userRole") +@RequestMapping("/home/api/userRole") class UserRoleController { @Autowired