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 94dd76ede7 [fix] 优化调用链路传递隐式参数 (#1174)
94dd76ede7 is described below

commit 94dd76ede7920419169884f4eb42352ae9f1c5a4
Author: JIAN ZHONG <[email protected]>
AuthorDate: Fri Jul 1 10:18:45 2022 +0800

    [fix] 优化调用链路传递隐式参数 (#1174)
    
    https://github.com/apache/dubbo-awesome/issues/48
---
 .../advanced-features-and-usage/rpc/attachment.md         | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git 
a/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/attachment.md
 
b/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/attachment.md
index 7d33711416..beacfd2a5c 100644
--- 
a/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/attachment.md
+++ 
b/content/zh/docs3-building/java-sdk/advanced-features-and-usage/rpc/attachment.md
@@ -5,15 +5,20 @@ linkTitle: "调用链路传递隐式参数"
 weight: 5
 description: "通过 Dubbo 中的 Attachment 在服务消费方和提供方之间隐式传递参数"
 ---
-
+## 特性说明
 可以通过 `RpcContext` 上的 `setAttachment` 和 `getAttachment` 在服务消费方和提供方之间进行参数的隐式传递。 
 
-{{% alert title="注意" color="primary" %}}
-path, group, version, dubbo, token, timeout 几个 key 是保留字段,请使用其它值。
-{{% /alert %}}
 
 ![/user-guide/images/context.png](/imgs/user/context.png)
+#### 注意:
+path, group, version, dubbo, token, timeout 几个 key 是保留字段,请使用其它值。
 
+#### 隐式参数配置:
+- 服务消费方
+- 服务提供方
+
+## 使用场景
+## 使用方式
 #### 在服务消费方端设置隐式参数
 
 `setAttachment` 设置的 KV 对,在完成下面一次远程调用会被清空,即多次远程调用要多次设置。
@@ -25,7 +30,6 @@ xxxService.xxx(); // 远程调用
 ```
 
 #### 在服务提供方端获取隐式参数
-
 ```java
 public class XxxServiceImpl implements XxxService {
  
@@ -35,4 +39,3 @@ public class XxxServiceImpl implements XxxService {
     }
 }
 ```
-

Reply via email to