8 Commits

Author SHA1 Message Date
051c0e44da refactor(forgeboot-webmvc): 移除 VersionAutoConfiguration 中未使用的 WebMvcConfigurer 导入移除了 VersionAutoConfiguration.kt 文件中未使用的 WebMvcConfigurer 导入语句,简化了代码结构并提高了代码的可读性。 2025-05-09 18:07:41 +08:00
0920a83e1c feat(version): Cross-domain configuration is supported for API version request mappings
- Inject VersionProperties and CorsConfigurationSource in VersionAutoConfiguration
- Updated the apiVersionRequestMappingHandlerMapping method to add support for cross-origin configuration
- Remove unnecessary comments from R classes
2025-05-09 17:40:47 +08:00
gewuyou
15709c6516 refactor(projectStructure):Adjust dependencies and module configuration - Remove duplicate Spring Boot BOM configurations from each module
- Delete API dependencies in modules such as forgeboot-core, forgeboot-i18n
- Add submodule dependencies in the root project
- Optimize settings.gradle.kts, add forgeboot-webflux module
2025-05-02 14:13:27 +08:00
gewuyou
47691cd605 feat(webmvc): Improve the priority of API version mapping processing
Make sure it executes before all other request mapping handlers by setting the order property of ApiVersionRequestMappingHandlerMapping to Int.MIN_VALUE. This ensures that version control requests are processed first, and improves the system's response speed and efficiency.
2025-05-02 12:20:57 +08:00
gewuyou
e6f70b0e74 feat(version): Add version attribute configuration and dynamically set API prefix - Add VersionProperties class to configure version-related attributes
- Enable VersionProperties configuration in VersionAutoConfiguration
- Modify ApiVersionRequestMappingHandlerMapping to use the configured API prefix
2025-05-02 12:10:39 +08:00
gewuyou
fc8bea06b3 feat(webmvc): Add method logging and configure Spring Boot AOP
- Added MethodRecording annotation to record method execution information
- Implement MethodRecordingAspect for method recording
- Add LoggerAutoConfiguration Automatic Configuration Class
- Introduce CoroutineLogger coroutine log object - Update dependencies and configure Spring Boot AOP
2025-04-26 23:47:02 +08:00
gewuyou
beacb9c856 feat(core): Added core modules and refactored WebMvc modules
- Added forgeboot-core module, including core extension functions
-Refactor the forgeboot-webmvc module and change it to Spring Boot Starter structure - Update project configuration and dependencies - Add log extension function
2025-04-26 14:52:07 +08:00
gewuyou
c22389d584 feat(webmvc): Add version control support
- Added ApiVersion annotations for version control of controllers and methods - Implement VersionAutoConfiguration automatic configuration class
- Add ApiVersionRequestMappingHandlerMapping to handle version mapping
- Update build configuration, support Spring Boot and version control
- Added Git-related configuration files
2025-04-26 14:04:44 +08:00