65725738 opened a new issue #2232:
URL: https://github.com/apache/incubator-shenyu/issues/2232


   ### Question
   
   To use Shenyu, is it necessary to annotate @ShenyuspringCloudClient (path = 
"/save") in the Controller layer?
   
    For example,
   
       @PostMapping("/save")
       @ShenyuSpringCloudClient(path = "/save")
       public OrderDTO save(@RequestBody final OrderDTO orderDTO) {
           orderDTO.setName("hello world spring cloud save order");
           return orderDTO;
       }
   
   If so, Shenyu's code will invade the normal business system. Coupled to the 
code of the business service. If you want to change the gateway. I need to 
delete all the code.
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to