springcloud中假如后端服务有@RequestMapping("/test")
pubilc void test(@RequestBody MyPram myParam){
...
}在zuul网关的过滤器中,我要获取myParam的值, RequestContext ctx = RequestContext.getCurrentContext(); HttpServletRequest request = ctx.getRequest();然后如何通过Request获取myParam的值?
添加回答
举报
0/150
提交
取消
