This commit is contained in:
wu 2024-12-18 10:04:36 +08:00
parent a18859c753
commit fcd6a6e27a

View File

@ -142,7 +142,7 @@ Spring Boot Projects 没有特定的布局或代码结构。但可以遵循的
com
+- lk
+- demo
+- MyApplication.java
+- MyApp.java
|
+- customer
| +- Customer.java
@ -172,21 +172,21 @@ com
com
+- lk
+- demo
+- MyApplication.java
+- MyApp.java
|
+- domain
| +- Customer.java
| +- Order.java
|
+- controllers
+- controller
| +- OrderController.java
| +- CustomerController.java
|
+- services
+- service
| +- CustomerService.java
| +- OrderService.java
|
+- repositories
+- repository
+- CustomerRepository.java
+- OrderRepository.java