Commit b70b236a by “zcwang”

Merge remote-tracking branch 'origin/feature-changeFlow-221110' into feature-changeFlow-221110

parents ff8fc80c 7e5af588
Pipeline #43501 passed with stages
in 1 minute 38 seconds
package com.netease.mail.yanxuan.change.integration.flow.supplier.impl; 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.FlowRpcSupplierInfoService;
import com.netease.mail.yanxuan.change.integration.flow.supplier.req.SupplierRelatedUserReq; import com.netease.mail.yanxuan.change.integration.flow.supplier.req.SupplierRelatedUserReq;
import com.netease.mail.yanxuan.change.integration.flow.supplier.rsp.SupplierUserRsp; import com.netease.mail.yanxuan.change.integration.flow.supplier.rsp.SupplierUserRsp;
...@@ -32,7 +34,7 @@ public class FlowRpcSupplierInfoServiceImpl implements FlowRpcSupplierInfoServic ...@@ -32,7 +34,7 @@ public class FlowRpcSupplierInfoServiceImpl implements FlowRpcSupplierInfoServic
HashMap<String, Object> params = new HashMap<>(); HashMap<String, Object> params = new HashMap<>();
params.put("searchType",req.getSearchType()); params.put("searchType",req.getSearchType());
params.put("supplierIdList",req.getSupplierIdList()); 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()); logger.error("请求返回结果"+supplierUserRsp.toString());
return null; 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