You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/28 15:55:58 UTC

[GitHub] [apisix] supermario1990 commented on a change in pull request #2877: fix: Synchronize with english doc

supermario1990 commented on a change in pull request #2877:
URL: https://github.com/apache/apisix/pull/2877#discussion_r532054618



##########
File path: doc/zh-cn/plugin-develop.md
##########
@@ -163,7 +163,7 @@ local _M = {
 该插件在 rewrite 、access 阶段执行都可以,项目中是用 rewrite 阶段执行认证逻辑,一般 IP 准入、接口权限是在 access 阶段
 完成的。
 
-**注意:我们不能在 rewrite 和 access 阶段调用 `ngx.exit` 或者 `core.respond.exit`。如果确实需要退出,只需要 return 状态码和正文,插件引擎将使用返回的状态码和正文进行退出。**
+**注意:我们不能在 rewrite 和 access 阶段调用 `ngx.exit` 或者 `core.respond.exit`。如果确实需要退出,只需要 return 状态码和正文,插件引擎将使用返回的状态码和正文进行退出。[例子](https://github.com/apache/apisix/blob/master/apisix/plugins/limit-count.lua#L132)**

Review comment:
       thx for review, Corrected.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org