Commit 12d9a9d8 by jx-art

测试关联角色查询 入参参数打印

parent 7e5af588
package com.netease.mail.yanxuan.change.integration.flow.supplier.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.netease.mail.yanxuan.change.integration.flow.supplier.FlowRpcSupplierInfoService;
import com.netease.mail.yanxuan.change.integration.flow.supplier.req.SupplierRelatedUserReq;
import com.netease.mail.yanxuan.change.integration.flow.supplier.rsp.SupplierUserRsp;
......@@ -34,7 +33,9 @@ public class FlowRpcSupplierInfoServiceImpl implements FlowRpcSupplierInfoServic
HashMap<String, Object> params = new HashMap<>();
params.put("searchType",req.getSearchType());
params.put("supplierIdList",req.getSupplierIdList());
Object supplierUserRsp = rpcTemplate.postJson(url, JSON.toJSONString(req),500,new RpcObjectHandler<>(Object.class));
String s = JSON.toJSONString(req);
logger.error(s);
Object supplierUserRsp = rpcTemplate.postJson(url, s,500,new RpcObjectHandler<>(Object.class));
logger.error("请求返回结果"+supplierUserRsp.toString());
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment