|
@@ -18,8 +18,8 @@ public class GetPropByPjProcessor implements Processor {
|
|
|
String projectId = json.getString(Const.HEADER_PROJECT);
|
|
|
String secret = ProPasCache.getPjSecret(projectId);
|
|
|
|
|
|
-// exchange.getIn().setBody("{\"venderInfo\":true,\"criteria\":{\"family\":[]}}");
|
|
|
- exchange.getIn().setBody("{\"criteria\":{\"family\":[]}}");
|
|
|
+ exchange.getIn().setBody("{\"venderInfo\":true,\"criteria\":{\"family\":[]}}");
|
|
|
+// exchange.getIn().setBody("{\"criteria\":{\"family\":[]}}");
|
|
|
exchange.getIn().setHeader(Exchange.HTTP_URI, Const.dataPlatform+"/property/relation_query?method=POST");
|
|
|
exchange.getIn().setHeader(Exchange.HTTP_QUERY,Const.HEADER_PROJECT + "=" + projectId + "&"+ Const.HEADER_SECRET+ "="+ secret);
|
|
|
|