Commit 570812f1 authored by 黎博's avatar 黎博

vcc开户成功接口新增userId和uuid

parent 063364d2
Pipeline #871 failed with stages
......@@ -11,6 +11,14 @@ public class VccOpenResultVo {
* 手机号
*/
private String phoneNo;
/**
* userId
*/
private String userId;
/**
* uuid
*/
private String uuid;
/**
* 开通的渠道
*/
......
......@@ -10,6 +10,7 @@ import cn.qg.qaplatform.zdata.service.risk.RuleEngineService;
import cn.qg.qaplatform.zdata.service.vcc.VccDataService;
import cn.qg.qaplatform.utils.page.PageResult;
import cn.qg.qaplatform.utils.page.PageUtil;
import cn.qg.qaplatform.zdata.service.xyqb.XyqbBasicQueryService;
import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
......@@ -31,6 +32,9 @@ public class VccDataServiceImpl implements VccDataService {
@Autowired
RuleEngineService ruleEngineService;
@Autowired
XyqbBasicQueryService xyqbBasicQueryService;
/**
* vcc造数据
* @param namespace 环境
......@@ -59,6 +63,8 @@ public class VccDataServiceImpl implements VccDataService {
Map loginResult = Vcc.login(namespace, phoneNo, openedChannel, openedChannel);
String token = loginResult.get("token").toString();
String uuid = loginResult.get("uuid").toString();
vccOpenResultVo.setUuid(uuid);
vccOpenResultVo.setUserId(xyqbBasicQueryService.getUserInfoByPhoneNo(namespace, phoneNo).getUserId());
// 加入授信黑名单
if (status == 2) {
ruleEngineService.addBlackList(uuid);
......
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