Skip to content

Commit ed79c8c

Browse files
fix(controllers.md): fix 文字重复错误
1 parent 4215263 commit ed79c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

10/controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class CatsController {
6262

6363
?> 为了在 `express` 中使用 `Typescript` (如 `request: Request` 上面的参数示例所示),请安装 `@types/express`
6464

65-
`Request` 对象代表 `HTTP` 请求,并具有查询字符串,请求参数参数,HTTP 标头(HTTP header) 和 正文(HTTP body)的属性(在[这里](https://expressjs.com/en/api.html#req)阅读更多)。在多数情况下,不必手动获取它们。 我们可以使用专用的装饰器,比如开箱即用的 `@Body()``@Query()` 。 下面是 Nest 提供的装饰器及其代表的底层平台特定对象的对照列表。
65+
`Request` 对象代表 `HTTP` 请求,并具有查询字符串,请求参数,HTTP 标头(HTTP header) 和 正文(HTTP body)的属性(在[这里](https://expressjs.com/en/api.html#req)阅读更多)。在多数情况下,不必手动获取它们。 我们可以使用专用的装饰器,比如开箱即用的 `@Body()``@Query()` 。 下面是 Nest 提供的装饰器及其代表的底层平台特定对象的对照列表。
6666

6767
| | |
6868
| ------------------------- | --------------------------------- |

0 commit comments

Comments
 (0)