新增一个路径

This commit is contained in:
洛洛希雅Lolosia 2024-04-26 01:14:53 +08:00
parent 3314f37ab9
commit 939cc491e1

View File

@ -20,7 +20,7 @@ class HomeController {
@Autowired
lateinit var service: HomeService
@GetMapping(path = ["/", "/api/"])
@GetMapping(path = ["/", "/api/", "/home/api/"])
fun home(resp: ServerHttpResponse): Mono<Void> {
// resp.statusCode = HttpStatus.FOUND
// resp.headers.location = URI.create("/oAuth/")