Commit 3e72713f by jx-art

测试关联角色查询

parent 29d25962
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;
......@@ -32,7 +34,7 @@ public class FlowRpcSupplierInfoServiceImpl implements FlowRpcSupplierInfoServic
HashMap<String, Object> params = new HashMap<>();
params.put("searchType",req.getSearchType());
params.put("supplierIdList",req.getSupplierIdList());
Object supplierUserRsp = rpcTemplate.post(url, params,500,new RpcObjectHandler<>(Object.class));
Object supplierUserRsp = rpcTemplate.postJson(url, JSON.toJSONString(req),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