补充mvc说明
This commit is contained in:
parent
e0da430bb0
commit
39ab7d59a0
@ -139,3 +139,12 @@ func LoadConfigFromYaml(configFilePath string) error {
|
||||
```
|
||||
|
||||
### 编写单元测试,验证模块的正确性
|
||||
|
||||
|
||||
|
||||
|
||||
## 如何组装我们的业务代码
|
||||
|
||||
+ m: model
|
||||
+ v: api
|
||||
+ c: controller
|
2
book/api/README.md
Normal file
2
book/api/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 接口层
|
||||
|
1
book/controller/README.md
Normal file
1
book/controller/README.md
Normal file
@ -0,0 +1 @@
|
||||
# 业务层 (业务处理逻辑)
|
1
book/model/README.md
Normal file
1
book/model/README.md
Normal file
@ -0,0 +1 @@
|
||||
# 存储数据模型(数据库里的表)
|
Loading…
x
Reference in New Issue
Block a user