Browse Source

Merge pull request #114 from weikaiiii/patch-1

Update rest-controllers.md
tags/2.0.16
崔亮 6 years ago committed by GitHub
parent
commit
333534ac97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      docs/guide-zh-CN/rest-controllers.md

10
docs/guide-zh-CN/rest-controllers.md

@ -14,12 +14,12 @@ Yii 提供两个控制器基类来简化创建RESTful
[[yii\rest\Controller]] 和 [[yii\rest\ActiveController]] 提供以下功能, [[yii\rest\Controller]] 和 [[yii\rest\ActiveController]] 提供以下功能,
一些功能在后续章节详细描述: 一些功能在后续章节详细描述:
* HTTP 方法验证; * HTTP 方法验证
* [内容协商和数据格式化](rest-response-formatting.md); * [内容协商和数据格式化](rest-response-formatting.md)
* [认证](rest-authentication.md); * [认证](rest-authentication.md)
* [频率限制](rest-rate-limiting.md). * [频率限制](rest-rate-limiting.md)
[[yii\rest\ActiveController]] 额外提供一下功能: [[yii\rest\ActiveController]] 额外提供以下功能:
* 一系列常用动作:`index`,`view`,`create`,`update`,`delete`,`options`; * 一系列常用动作:`index`,`view`,`create`,`update`,`delete`,`options`;
* 对动作和资源进行用户认证。 * 对动作和资源进行用户认证。

Loading…
Cancel
Save