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 4545</table >
4646
4747
48- ## Java
48+ ## Java(必看 : +1 : )
4949
5050### 基础
5151
156156
157157## 系统设计
158158
159- ### 编码规范
159+ ### 编码之道(必看 : +1 : )
160160
161- 1 . [ RestFul API 简明教程] ( docs/system-design/restful-api .md )
161+ 1 . [ RestFul API 简明教程] ( docs/system-design/coding-way/RESTfulAPI简明教程 .md )
1621622 . [ Java 编程规范以及优雅 Java 代码实践总结] ( docs/java/Java编程规范.md )
1631633 . [ Java 命名之道] ( docs/system-design/naming.md )
164- 4 . [ 设计模式系列文章] ( docs/system-design/设计模式.md )
165164
166165### 常用框架
167166
176175
177176** 重要知识点详解:**
178177
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 : )
1811803 . [ 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 )
184181
185182#### MyBatis
186183
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 {
315315
316316这样我们的后端就可以直接把 json 格式的数据映射到我们的 ` UserRegisterRequest ` 类上。
317317
318- ![ ] ( https://cdn.jsdelivr.net/gh/javaguide-tech/blog- images/2020-08/663d1ec1-7ebc-41ab-8431-159dc1ec6589 .png)
318+ ![ ] ( images/spring-annotations/@RequestBody .png )
319319
320320👉 需要注意的是:** 一个请求方法只可以有一个` @RequestBody ` ,但是可以有多个` @RequestParam ` 和` @PathVariable ` ** 。 如果你的方法必须要用两个 ` @RequestBody ` 来接受数据的话,大概率是你的数据库设计或者系统设计出问题了!
321321
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments