Browse Source

查询数据平台资产,传入venderInfo=true

FanXiaoyu 6 years ago
parent
commit
03668f610b

+ 2 - 2
src/main/java/com/sagacloud/route/processors/GetPropByPjProcessor.java

@@ -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);