Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beijing-vehicleflow
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
zhangzhenbang
beijing-vehicleflow
Commits
91d34068
Commit
91d34068
authored
Feb 24, 2020
by
zhangzhenbang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单独实名认证
parent
35a6bc82
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
IdentityInfoController.java
...beijingvehicleflow/controller/IdentityInfoController.java
+11
-9
No files found.
src/main/java/com/yingxin/beijingvehicleflow/controller/IdentityInfoController.java
View file @
91d34068
...
...
@@ -190,18 +190,20 @@ public class IdentityInfoController {
info
.
setFaceImage
(
PicUtils
.
compressImage
(
info
.
getFaceImage
(),
Const
.
FACE_IMG_SIZE
));
try
{
if
(!
authService
.
is0x42AuthSucc
(
info
))
{
return
Response
.
fail
(
"AUTH-FAILED"
,
"实名认证失败。"
);
}
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"身份认证异常:"
,
e
);
return
Response
.
fail
(
"AUTH-FAILED"
,
"实名认证失败。"
);
}
//
try {
//
if (!authService.is0x42AuthSucc(info)) {
//
return Response.fail("AUTH-FAILED","实名认证失败。");
//
}
//
} catch (Exception e) {
//
LOGGER.error("身份认证异常:", e);
//
return Response.fail("AUTH-FAILED","实名认证失败。");
//
}
try
{
info
.
setIsAuthed
(
1
);
return
identityInformationService
.
updateIdentityVerificationById
(
info
)>
0
?
Response
.
succ
():
Response
.
fail
();
// return identityInformationService.updateIdentityVerificationById(info)>0?Response.succ():Response.fail();
identityInformationService
.
updateIdentityVerificationById
(
info
);
return
Response
.
succ
();
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"身份认证数据update异常:"
,
e
);
return
Response
.
fail
(
"UNKNOWN-ERROR"
,
"系统繁忙,请稍后重试。"
);
...
...
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