mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 16:14:32 +08:00
refactor(webmvc): Optimized the creation logic of API version request mapping handler mappings
- After you create an ApiVersionRequestMappingHandlerMapping instance, assign it to the mapping variable - This change may help to better manage request mapping, handler mapping, and improve maintainability of your code
This commit is contained in:
parent
f13b21e640
commit
ae09ddbd8a
@ -36,6 +36,7 @@ open class VersionAutoConfiguration(
|
||||
log.info("创建 API 版本请求映射处理程序映射")
|
||||
return ApiVersionRequestMappingHandlerMapping(versionProperties).also {
|
||||
it.order = Int.MIN_VALUE
|
||||
mapping = it
|
||||
}
|
||||
}
|
||||
@PostConstruct
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user