File tree Expand file tree Collapse file tree 7 files changed +6
-813
lines changed
images/spring-annotations Expand file tree Collapse file tree 7 files changed +6
-813
lines changed Original file line number Diff line number Diff line change 45
45
</table >
46
46
47
47
48
- ## Java
48
+ ## Java(必看 : +1 : )
49
49
50
50
### 基础
51
51
156
156
157
157
## 系统设计
158
158
159
- ### 编码规范
159
+ ### 编码之道(必看 : +1 : )
160
160
161
- 1 . [ RestFul API 简明教程] ( docs/system-design/restful-api .md )
161
+ 1 . [ RestFul API 简明教程] ( docs/system-design/coding-way/RESTfulAPI简明教程 .md )
162
162
2 . [ Java 编程规范以及优雅 Java 代码实践总结] ( docs/java/Java编程规范.md )
163
163
3 . [ Java 命名之道] ( docs/system-design/naming.md )
164
- 4 . [ 设计模式系列文章] ( docs/system-design/设计模式.md )
165
164
166
165
### 常用框架
167
166
176
175
177
176
** 重要知识点详解:**
178
177
179
- 1 . ** [ Spring/Spring 常用注解总结!安排!] ( ./docs/system-design/framework/spring/spring-annotations .md ) **
180
- 2 . ** [ Spring 事务总结] ( docs/system-design/framework/spring/spring-transaction.md ) **
178
+ 1 . ** [ Spring/Spring 常用注解总结!安排!] ( ./docs/system-design/framework/spring/SpringBoot+Spring常用注解总结 .md ) ** (必看 : +1 : )
179
+ 2 . ** [ Spring 事务总结] ( docs/system-design/framework/spring/spring-transaction.md ) ** (必看 : +1 : )
181
180
3 . [ Spring 中都用到了那些设计模式?] ( docs/system-design/framework/spring/Spring-Design-Patterns.md )
182
- 4 . [ Spring 中 Bean 的作用域与生命周期] ( docs/system-design/framework/spring/SpringBean.md )
183
- 5 . [ SpringMVC 工作原理详解] ( docs/system-design/framework/spring/SpringMVC-Principle.md )
184
181
185
182
#### MyBatis
186
183
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ public class UserRegisterRequest {
315
315
316
316
这样我们的后端就可以直接把 json 格式的数据映射到我们的 ` UserRegisterRequest ` 类上。
317
317
318
- ![ ] ( https://cdn.jsdelivr.net/gh/javaguide-tech/blog- images/2020-08/663d1ec1-7ebc-41ab-8431-159dc1ec6589 .png)
318
+ ![ ] ( images/spring-annotations/@RequestBody .png )
319
319
320
320
👉 需要注意的是:** 一个请求方法只可以有一个` @RequestBody ` ,但是可以有多个` @RequestParam ` 和` @PathVariable ` ** 。 如果你的方法必须要用两个 ` @RequestBody ` 来接受数据的话,大概率是你的数据库设计或者系统设计出问题了!
321
321
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments