You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2022/01/07 06:23:34 UTC

[dubbo-website] branch master updated: fix #731 (#1031)

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 646cdbd  fix #731 (#1031)
646cdbd is described below

commit 646cdbd2a6d2e1540538de5bf4eba94cabecedd5
Author: Wang Chengming <63...@qq.com>
AuthorDate: Fri Jan 7 14:23:10 2022 +0800

    fix #731 (#1031)
    
    fix #731
---
 content/zh/docs/advanced/local-stub.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/zh/docs/advanced/local-stub.md b/content/zh/docs/advanced/local-stub.md
index f8c3a12..a4b2904 100644
--- a/content/zh/docs/advanced/local-stub.md
+++ b/content/zh/docs/advanced/local-stub.md
@@ -13,13 +13,13 @@ description: "在 Dubbo 中利用本地存根在客户端执行部分逻辑"
 在 spring 配置文件中按以下方式配置:
 
 ```xml
-<dubbo:service interface="com.foo.BarService" stub="true" />
+<dubbo:consumer interface="com.foo.BarService" stub="true" />
 ```
 
 或
 
 ```xml
-<dubbo:service interface="com.foo.BarService" stub="com.foo.BarServiceStub" />
+<dubbo:consumer interface="com.foo.BarService" stub="com.foo.BarServiceStub" />
 ```
 
 提供 Stub 的实现 [^2]: