Skip to content

Commit

Permalink
Merge pull request alsotang#61 from wxlfight/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
alsotang committed Sep 6, 2015
2 parents 2668a40 + 82516e0 commit 555350b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lesson18/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ server.listen(3000);
然而,我们的业务逻辑不可能这么简单。例如:需要实现一个接口,要做的是当请求过来时,先判断来源的请求是否包含请求体,然后判断请求体中的id是不是在数据库中存在,最后若存在则返回true,不存在则返回false。

```
1. 检测请求中请求提是否存在,若存在则解析请求体;
1. 检测请求中请求体是否存在,若存在则解析请求体;
1. 查看请求体中的id是否存在,若存在则去数据库查询;
1. 根据数据库结果返回约定的值;
```
Expand Down

0 comments on commit 555350b

Please sign in to comment.