File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
## 选择合适的版本
10
10
11
- 该项目包含两个版本,一个适用于 Spring5,另一个适用于 Spring6。
11
+ 该项目包含两个版本,一个适用于 Spring5,另一个适用于 Spring6。
12
12
对于 Spring5,应使用
13
13
14
14
``` groovy kotlin
@@ -24,7 +24,7 @@ implementation("org.flmelody:spring-method-parameter-resolver:x.y.z-spring6")
24
24
## SpringBoot快速开始
25
25
26
26
- 启用解析器,请在任何` @Configuration `
27
- 类中添加以下内容` @EnableWebResolver(paramNamingStrategy = NamingStrategy.SNAKE_CASE) ` ,例如
27
+ 类中添加以下内容` @EnableWebResolver(paramNamingStrategy = NamingStrategy.SNAKE_CASE) ` ,例如
28
28
![ img.png] ( img.png )
29
29
- 用 ` @WebParam ` 代替 Spring 的 ` @RequestParam `
30
30
现在,你的请求参数可以接受蛇形参数名
@@ -37,4 +37,4 @@ implementation("org.flmelody:spring-method-parameter-resolver:x.y.z-spring6")
37
37
## 创建你自己的MethodArgumentResolver
38
38
39
39
- 实现 ` WebMethodArgumentResolver `
40
- - 在` BeanFactory ` 中注册你实现的参数解析器
40
+ - 在` BeanFactory ` 中注册你实现的参数解析器
You can’t perform that action at this time.
0 commit comments