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

albumenj 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 4c755aeb66 Update local-stub.md (#1111)
4c755aeb66 is described below

commit 4c755aeb66a0db4c4ce9edd2dba4756280b19e67
Author: jody mford <[email protected]>
AuthorDate: Tue Jun 21 10:16:42 2022 +0800

    Update local-stub.md (#1111)
    
    https://github.com/apache/dubbo-website/issues/1080 修改错误
---
 content/zh/docsv2.7/user/examples/local-stub.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

Reply via email to