yjua commented on issue #181: attachment里的参数dubbo服务取不到
URL: https://github.com/apache/dubbo-js/issues/181#issuecomment-570452581
 
 
   使用attachments是可以取到的
   ```
   dubbo.use(async(ctx, next) => {
     ctx.attachments = {
       id: 'xx'
     }
     await next();
   })
   ```
   如上代码,如果获取不到应该是服务端设置问题吧

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to