修改api路径
This commit is contained in:
parent
711cb4f9e8
commit
3ed651670b
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user