|
@@ -48,12 +48,16 @@ public class RemoteUserAccountServiceImpl implements RemoteUserAccountService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public R<String> openAccount(RemoteUserAccountBo bo) {
|
|
|
|
|
|
|
+ public R<RemoteUserAccountBo> openAccount(RemoteUserAccountBo bo) {
|
|
|
PtUserAccountBo ptUserAccountBo = BeanUtil.copyProperties(bo, PtUserAccountBo.class);
|
|
PtUserAccountBo ptUserAccountBo = BeanUtil.copyProperties(bo, PtUserAccountBo.class);
|
|
|
R<String> rs = userAccountBusiness.openAccount(ptUserAccountBo);
|
|
R<String> rs = userAccountBusiness.openAccount(ptUserAccountBo);
|
|
|
bo.setCardId(ptUserAccountBo.getCardId());
|
|
bo.setCardId(ptUserAccountBo.getCardId());
|
|
|
bo.setCardNo(ptUserAccountBo.getCardNo());
|
|
bo.setCardNo(ptUserAccountBo.getCardNo());
|
|
|
- return rs;
|
|
|
|
|
|
|
+ R<RemoteUserAccountBo> remoteUserAccountBoR = new R<>();
|
|
|
|
|
+ remoteUserAccountBoR.setCode(rs.getCode());
|
|
|
|
|
+ remoteUserAccountBoR.setMsg(rs.getMsg());
|
|
|
|
|
+ remoteUserAccountBoR.setData(bo);
|
|
|
|
|
+ return remoteUserAccountBoR;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|