Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-platform
Commits
570812f1
Commit
570812f1
authored
Apr 09, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcc开户成功接口新增userId和uuid
parent
063364d2
Pipeline
#871
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
VccOpenResultVo.java
...n/java/cn/qg/qaplatform/zdata/entity/VccOpenResultVo.java
+8
-0
VccDataServiceImpl.java
...qaplatform/zdata/service/vcc/impl/VccDataServiceImpl.java
+6
-0
No files found.
src/main/java/cn/qg/qaplatform/zdata/entity/VccOpenResultVo.java
View file @
570812f1
...
@@ -11,6 +11,14 @@ public class VccOpenResultVo {
...
@@ -11,6 +11,14 @@ public class VccOpenResultVo {
* 手机号
* 手机号
*/
*/
private
String
phoneNo
;
private
String
phoneNo
;
/**
* userId
*/
private
String
userId
;
/**
* uuid
*/
private
String
uuid
;
/**
/**
* 开通的渠道
* 开通的渠道
*/
*/
...
...
src/main/java/cn/qg/qaplatform/zdata/service/vcc/impl/VccDataServiceImpl.java
View file @
570812f1
...
@@ -10,6 +10,7 @@ import cn.qg.qaplatform.zdata.service.risk.RuleEngineService;
...
@@ -10,6 +10,7 @@ import cn.qg.qaplatform.zdata.service.risk.RuleEngineService;
import
cn.qg.qaplatform.zdata.service.vcc.VccDataService
;
import
cn.qg.qaplatform.zdata.service.vcc.VccDataService
;
import
cn.qg.qaplatform.utils.page.PageResult
;
import
cn.qg.qaplatform.utils.page.PageResult
;
import
cn.qg.qaplatform.utils.page.PageUtil
;
import
cn.qg.qaplatform.utils.page.PageUtil
;
import
cn.qg.qaplatform.zdata.service.xyqb.XyqbBasicQueryService
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
com.github.pagehelper.PageInfo
;
...
@@ -31,6 +32,9 @@ public class VccDataServiceImpl implements VccDataService {
...
@@ -31,6 +32,9 @@ public class VccDataServiceImpl implements VccDataService {
@Autowired
@Autowired
RuleEngineService
ruleEngineService
;
RuleEngineService
ruleEngineService
;
@Autowired
XyqbBasicQueryService
xyqbBasicQueryService
;
/**
/**
* vcc造数据
* vcc造数据
* @param namespace 环境
* @param namespace 环境
...
@@ -59,6 +63,8 @@ public class VccDataServiceImpl implements VccDataService {
...
@@ -59,6 +63,8 @@ public class VccDataServiceImpl implements VccDataService {
Map
loginResult
=
Vcc
.
login
(
namespace
,
phoneNo
,
openedChannel
,
openedChannel
);
Map
loginResult
=
Vcc
.
login
(
namespace
,
phoneNo
,
openedChannel
,
openedChannel
);
String
token
=
loginResult
.
get
(
"token"
).
toString
();
String
token
=
loginResult
.
get
(
"token"
).
toString
();
String
uuid
=
loginResult
.
get
(
"uuid"
).
toString
();
String
uuid
=
loginResult
.
get
(
"uuid"
).
toString
();
vccOpenResultVo
.
setUuid
(
uuid
);
vccOpenResultVo
.
setUserId
(
xyqbBasicQueryService
.
getUserInfoByPhoneNo
(
namespace
,
phoneNo
).
getUserId
());
// 加入授信黑名单
// 加入授信黑名单
if
(
status
==
2
)
{
if
(
status
==
2
)
{
ruleEngineService
.
addBlackList
(
uuid
);
ruleEngineService
.
addBlackList
(
uuid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment