Skip to content

Commit

Permalink
fix readme-cn (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
moyrne committed Dec 30, 2021
1 parent 62266d8 commit dfc67b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/

编写业务代码:

* api 文件定义了服务对外 HTTP 接口,可参考 [api 规范](https://github.com/zeromicro/zero-doc/blob/main/doc/goctl.md)
* api 文件定义了服务对外 HTTP 接口,可参考 [api 规范](https://github.com/zeromicro/zero-doc/blob/main/docs/zero/goctl-api.md)
* 可以在 `servicecontext.go` 里面传递依赖给 logic,比如 mysql, redis 等
* 在 api 定义的 `get/post/put/delete` 等请求对应的 logic 里增加业务处理逻辑

Expand Down

0 comments on commit dfc67b5

Please sign in to comment.