|
@@ -142,12 +142,13 @@ public class Route extends ExceptionHandlerBaseRoute {
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
- .to("direct:getPropertiesByPj");
|
|
|
+ .to("direct:buildVenderMap");
|
|
|
|
|
|
from("direct:buildVenderMap")
|
|
|
.process(exchange -> {
|
|
|
Object temp = exchange.getIn().getBody();
|
|
|
exchange.setProperty("tempBody",temp);
|
|
|
+ exchange.getIn().setHeader(Exchange.HTTP_URI, Const.venders+"/auxiliary/vender/query_detail?method=POST");
|
|
|
})
|
|
|
.to(Const.venders+"/auxiliary/vender/query_detail")
|
|
|
.process(new VenderMapProcessor())
|