| | |
| | | import cn.huge.module.client.api.CustClient; |
| | | import cn.huge.module.cust.dto.CtUserDTO; |
| | | import cn.huge.module.cust.dto.PaUserDTO; |
| | | import cn.huge.module.mediate.dto.WechatBindCaseDTO; |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * pc端提交案件后-获取相关当事人用户编号 |
| | | * @param wechatBindCaseDTO 实体对象 |
| | | * @return ReturnBO |
| | | */ |
| | | public String bindGetUserId(WechatBindCaseDTO wechatBindCaseDTO){ |
| | | String userId = null; |
| | | try{ |
| | | ReturnBO returnBo = custClient.bindGetUserId(wechatBindCaseDTO); |
| | | if (ReturnConsts.OK == returnBo.getCode()){ |
| | | userId = (String) returnBo.getData(); |
| | | }else{ |
| | | log.error("Client外服务接口[CustClientImpl.bindGetUserId]请求异常:" + returnBo.getMsg(), returnBo.getMsg()); |
| | | } |
| | | }catch (Exception e){ |
| | | log.error("service方法[CustClientImpl.bindGetUserId]调用异常:"+e, e); |
| | | } |
| | | return userId; |
| | | } |
| | | } |