补充mvc说明

This commit is contained in:
yumaojun03 2024-11-23 10:04:58 +08:00
parent e0da430bb0
commit 39ab7d59a0
4 changed files with 13 additions and 0 deletions

View File

@ -139,3 +139,12 @@ func LoadConfigFromYaml(configFilePath string) error {
```
### 编写单元测试,验证模块的正确性
## 如何组装我们的业务代码
+ m: model
+ v: api
+ c: controller

2
book/api/README.md Normal file
View File

@ -0,0 +1,2 @@
# 接口层

View File

@ -0,0 +1 @@
# 业务层 (业务处理逻辑)

1
book/model/README.md Normal file
View File

@ -0,0 +1 @@
# 存储数据模型(数据库里的表)