Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
5a71352c
Commit
5a71352c
authored
Aug 02, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
09ead8a5
e9a85e68
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
AppPermissionService.java
...aoqi/security/admin/rpc/service/AppPermissionService.java
+1
-1
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+1
-2
CertificationService.java
...xxfc/platform/universal/service/CertificationService.java
+1
-0
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rpc/service/AppPermissionService.java
View file @
5a71352c
...
@@ -750,7 +750,7 @@ public class AppPermissionService {
...
@@ -750,7 +750,7 @@ public class AppPermissionService {
}
}
//实名认证
//实名认证
@Transactional
public
ObjectRestResponse
upAuthentication
(
Integer
userid
,
String
name
,
String
idNumber
,
Integer
status
)
{
public
ObjectRestResponse
upAuthentication
(
Integer
userid
,
String
name
,
String
idNumber
,
Integer
status
)
{
log
.
error
(
"userid===="
+
userid
+
"-----name===="
+
name
+
"----idNumber==="
+
idNumber
+
"---status==="
+
status
);
log
.
error
(
"userid===="
+
userid
+
"-----name===="
+
name
+
"----idNumber==="
+
idNumber
+
"---status==="
+
status
);
if
(
userid
==
null
||
userid
==
0
||
(
status
==
1
&&
StringUtils
.
isBlank
(
idNumber
)
&&
StringUtils
.
isBlank
(
name
)))
{
if
(
userid
==
null
||
userid
==
0
||
(
status
==
1
&&
StringUtils
.
isBlank
(
idNumber
)
&&
StringUtils
.
isBlank
(
name
)))
{
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
5a71352c
...
@@ -239,14 +239,13 @@ public class BaseOrderController extends CommonBaseController implements UserRes
...
@@ -239,14 +239,13 @@ public class BaseOrderController extends CommonBaseController implements UserRes
List
<
Integer
>
tourUserIds
=
Arrays
.
asList
(
orderPageVO
.
getOrderTourDetail
().
getTourUserIds
().
split
(
","
)).
parallelStream
().
map
(
s
->
Integer
.
valueOf
(
s
)).
collect
(
Collectors
.
toList
());
List
<
Integer
>
tourUserIds
=
Arrays
.
asList
(
orderPageVO
.
getOrderTourDetail
().
getTourUserIds
().
split
(
","
)).
parallelStream
().
map
(
s
->
Integer
.
valueOf
(
s
)).
collect
(
Collectors
.
toList
());
ObjectRestResponse
<
List
<
AppUserVo
>>
users
=
userFeign
.
getByUserIds
(
tourUserIds
);
ObjectRestResponse
<
List
<
AppUserVo
>>
users
=
userFeign
.
getByUserIds
(
tourUserIds
);
if
(
users
.
getData
()
!=
null
)
{
if
(
users
.
getData
()
!=
null
)
{
orderPageVO
.
getOrderTourDetail
().
setUserVoList
(
users
.
getData
()
==
null
?
users
.
getData
()
:
n
ull
);
orderPageVO
.
getOrderTourDetail
().
setUserVoList
(
users
.
getData
()
==
null
?
users
.
getData
()
:
n
ew
ArrayList
<>()
);
}
}
}
}
}
}
}
}
return
new
ObjectRestResponse
<>().
data
(
pageDataVO
);
return
new
ObjectRestResponse
<>().
data
(
pageDataVO
);
}
}
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/CertificationService.java
View file @
5a71352c
...
@@ -415,6 +415,7 @@ public class CertificationService {
...
@@ -415,6 +415,7 @@ public class CertificationService {
idInformation
.
setUpdTime
(
new
Date
());
idInformation
.
setUpdTime
(
new
Date
());
idInformationMapper
.
updateByPrimaryKeySelective
(
idInformation
);
idInformationMapper
.
updateByPrimaryKeySelective
(
idInformation
);
}
}
log
.
info
(
"----addIdInformation---userid==="
+
idInformation
.
getUserLonginId
()+
"----name===="
+
idInformation
.
getName
()+
"---IdNumber==="
+
idInformation
.
getIdNumber
());
//认证成功后修改用户,用户认证状态
//认证成功后修改用户,用户认证状态
ObjectRestResponse
authentication
=
userFeign
.
authentication
(
idInformation
.
getUserLonginId
(),
idInformation
.
getName
(),
idInformation
.
getIdNumber
(),
1
);
ObjectRestResponse
authentication
=
userFeign
.
authentication
(
idInformation
.
getUserLonginId
(),
idInformation
.
getName
(),
idInformation
.
getIdNumber
(),
1
);
return
ObjectRestResponse
.
succ
(
idInformation
.
getId
());
return
ObjectRestResponse
.
succ
(
idInformation
.
getId
());
...
...
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