Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QG
cash-loan-flow-boss
Commits
061d0d4e
Commit
061d0d4e
authored
Jan 19, 2020
by
shangying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
如果phone在detail表中已经存在,则idNo去user_detail表中的身份证号
parent
dc4b7a90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ApplyLoanServiceImpl.java
...s/api/oneclickdata/service/impl/ApplyLoanServiceImpl.java
+2
-1
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/oneclickdata/service/impl/ApplyLoanServiceImpl.java
View file @
061d0d4e
...
...
@@ -64,12 +64,13 @@ public class ApplyLoanServiceImpl implements ApplyLoanService {
clfChannelConfiguration
=
clfCenterService
.
findChannelConfigurationByChannelId
(
Long
.
parseLong
(
oneClickModel
.
getChannel
().
trim
()));
md5Keywy
=
clfChannelConfiguration
.
getMd5Key
();
aesKeywy
=
clfChannelConfiguration
.
getAesKey
();
result
=
apply
(
oneClickModel
,
md5Keywy
,
aesKeywy
);
UserDetail
userDetail
=
userDetailRepository
.
findByphoneNo
(
oneClickModel
.
getPhone
());
if
(
Objects
.
nonNull
(
userDetail
)){
idNo
=
userDetail
.
getId_no
();
}
log
.
info
(
"查看当前的phone是否已经在user_detail表中有,则使用现有的身份证号={},idNo={}"
,
userDetail
,
idNo
);
result
=
apply
(
oneClickModel
,
md5Keywy
,
aesKeywy
);
String
getDecryption
=
AESUtil
.
decryptAfterBase64Decode
(
result
.
get
(
"context"
).
toString
(),
aesKeywy
);
log
.
info
(
"解密的getDecryption的结果={}"
,
getDecryption
);
JSONObject
getDecryptionResult
=
(
JSONObject
)
JSONObject
.
parse
(
getDecryption
);
...
...
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