From 3ed651670b26c6a74f294375eb684dddf5f4c509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=83=E5=B9=B4=E5=A4=8F?= <2098833867@qq.com> Date: Sat, 27 Apr 2024 00:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9api=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.gradle.kts | 2 +- src/main/kotlin/top/lolosia/web/controller/LoginController.kt | 2 +- .../kotlin/top/lolosia/web/controller/system/RoleController.kt | 2 +- .../kotlin/top/lolosia/web/controller/system/UserController.kt | 2 +- .../top/lolosia/web/controller/system/UserRoleController.kt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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