修改api路径

This commit is contained in:
洛洛希雅Lolosia 2024-04-27 00:37:03 +08:00
parent 711cb4f9e8
commit 3ed651670b
5 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ include(":static")
pluginManagement { pluginManagement {
repositories { repositories {
maven("https://maven.aliyun.com/repository/gradle-plugin") // maven("https://maven.aliyun.com/repository/gradle-plugin")
gradlePluginPortal() gradlePluginPortal()
} }
} }

View File

@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController import org.springframework.web.bind.annotation.RestController
@RestController @RestController
@RequestMapping("/api") @RequestMapping("/home/api")
class LoginController { class LoginController {
@Autowired @Autowired

View File

@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController import org.springframework.web.bind.annotation.RestController
@RestController @RestController
@RequestMapping("/api/role") @RequestMapping("/home/api/role")
class RoleController { class RoleController {
@Autowired @Autowired

View File

@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*
import org.springframework.web.server.ServerWebExchange import org.springframework.web.server.ServerWebExchange
@RestController @RestController
@RequestMapping("/api/user") @RequestMapping("/home/api/user")
class UserController { class UserController {
@Autowired @Autowired

View File

@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController import org.springframework.web.bind.annotation.RestController
@RestController @RestController
@RequestMapping("/api/userRole") @RequestMapping("/home/api/userRole")
class UserRoleController { class UserRoleController {
@Autowired @Autowired