From 22046e5c11ce63a6627ea3c72d4b77b6a2de68dd Mon Sep 17 00:00:00 2001 From: haobing <9262286+countrywind@users.noreply.github.com> Date: Thu, 31 May 2018 09:29:23 +0800 Subject: [PATCH 1/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `分页缓存` 更新为 `页面缓存` --- docs/guide-zh-CN/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide-zh-CN/README.md b/docs/guide-zh-CN/README.md index 4543823db5..cf450d88b8 100644 --- a/docs/guide-zh-CN/README.md +++ b/docs/guide-zh-CN/README.md @@ -126,7 +126,7 @@ Yii 2.0 权威指南 * [概述(Overview)](caching-overview.md) * [数据缓存(Data Caching)](caching-data.md) * [片段缓存(Fragment Caching)](caching-fragment.md) -* [分页缓存(Page Caching)](caching-page.md) +* [页面缓存(Page Caching)](caching-page.md) * [HTTP 缓存(HTTP Caching)](caching-http.md) From 5023b1646629fdbfcb91b25f545f886e6db99de0 Mon Sep 17 00:00:00 2001 From: cuiliang Date: Thu, 31 May 2018 10:49:38 +0800 Subject: [PATCH 2/2] Update rest-controllers.md --- docs/guide-zh-CN/rest-controllers.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/guide-zh-CN/rest-controllers.md b/docs/guide-zh-CN/rest-controllers.md index 62cf8cea89..f3968c6218 100644 --- a/docs/guide-zh-CN/rest-controllers.md +++ b/docs/guide-zh-CN/rest-controllers.md @@ -120,14 +120,14 @@ public function behaviors() ### 自定义动作 -[[yii\rest\ActiveController]] 默认提供一下动作: +[[yii\rest\ActiveController]] 默认提供一下动作: -* [[yii\rest\IndexAction|index]]: 按页列出资源; -* [[yii\rest\ViewAction|view]]: 返回指定资源的详情; -* [[yii\rest\CreateAction|create]]: 创建新的资源; -* [[yii\rest\UpdateAction|update]]: 更新一个存在的资源; -* [[yii\rest\DeleteAction|delete]]: 删除指定的资源; -* [[yii\rest\OptionsAction|options]]: 返回支持的HTTP方法. +* [[yii\rest\IndexAction|index]]:按页列出资源; +* [[yii\rest\ViewAction|view]]:返回指定资源的详情; +* [[yii\rest\CreateAction|create]]:创建新的资源; +* [[yii\rest\UpdateAction|update]]:更新一个存在的资源; +* [[yii\rest\DeleteAction|delete]]:删除指定的资源; +* [[yii\rest\OptionsAction|options]]:返回支持的HTTP方法. 所有这些动作通过[[yii\rest\ActiveController::actions()|actions()]] 方法申明,可覆盖`actions()`方法配置或禁用这些动作, 如下所示: