修改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 {
repositories {
maven("https://maven.aliyun.com/repository/gradle-plugin")
// maven("https://maven.aliyun.com/repository/gradle-plugin")
gradlePluginPortal()
}
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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