SylviaBABY commented on code in PR #7620:
URL: https://github.com/apache/apisix/pull/7620#discussion_r939762665


##########
docs/zh/latest/plugins/client-control.md:
##########
@@ -25,17 +30,21 @@ title: client-control
 
 `client-control` 插件能够动态地控制 Nginx 处理客户端的请求的行为。

Review Comment:
   ```suggestion
   `client-control` 插件能够动态地控制 NGINX 处理客户端请求的行为。
   ```



##########
docs/zh/latest/plugins/client-control.md:
##########
@@ -75,7 +88,7 @@ HTTP/1.1 413 Request Entity Too Large
 
 ## 禁用插件
 
-当您要禁用 `client-control` 插件时,这很简单,您可以在插件配置中删除相应的 json 配置,无需重新启动服务,它将立即生效:
+当你需要禁用该插件时,可以通过以下命令删除相应的 JSON 配置,APISIX 将会自动重新加载相关配置,无需重启服务:
 
 ```shell
 curl http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '

Review Comment:
   ```suggestion
   curl http://127.0.0.1:9080/apisix/admin/routes/1 \
     -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   ```



##########
docs/zh/latest/plugins/client-control.md:
##########
@@ -25,17 +30,21 @@ title: client-control
 
 `client-control` 插件能够动态地控制 Nginx 处理客户端的请求的行为。
 
-**这个插件需要 APISIX 在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 上运行。**
+:::info 重要
+
+此插件需要 APISIX 在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 环境上运行。更多信息请参考 
[apisix-build-tools](https://github.com/api7/apisix-build-tools)。
+
+:::
 
 ## 属性
 
-| 名称      | 类型          | 必选项 | 默认值    | 有效值                                   
                                 | 描述                                           
                                                                                
              |
-| --------- | ------------- | ----------- | ---------- | 
------------------------------------------------------------------------ | 
---------------------------------------------------------------------------------------------------------------------------------------------------
 |
-| max_body_size | integer        | 可选    |              | >= 0 | 动态设置 
`client_max_body_size` 的大小 |
+| 名称      | 类型          | 必选项 | 有效值                                            
                        | 描述                                                    
                                                                                
     |
+| --------- | ------------- | ----------- | 
------------------------------------------------------------------------ | 
---------------------------------------------------------------------------------------------------------------------------------------------------
 |
+| max_body_size | integer        | 否    | [0,...] | 动态设置 
[`client_max_body_size`](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size)
 的大小。 |
 
-## 如何启用
+## 启用插件
 
-以下是一个示例,在指定路由中启用插件:
+以下示例展示了如何在指定路由上启用 `client-control` 插件,并设置 `max_body_size`:
 
 ```shell
 curl -i http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '

Review Comment:
   ```suggestion
   curl -i http://127.0.0.1:9080/apisix/admin/routes/1 \
     -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to