Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
向汉
/
uc-engine
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
2ae7fe6d
...
2ae7fe6d8da95a11e533acc76253871d5105dfb8
authored
2022-01-27 09:36:05 +0800
by
xianghan@topdraw.cn
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.添加checkBind接口
1 parent
a3b8095c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
member-service-impl/src/main/java/com/topdraw/business/process/rest/UserOperationController.java
member-service-impl/src/main/java/com/topdraw/business/process/service/impl/UserOperationServiceImpl.java
member-service-impl/src/main/java/com/topdraw/business/process/rest/UserOperationController.java
View file @
2ae7fe6
...
...
@@ -271,7 +271,7 @@ public class UserOperationController {
public
IResultInfo
checkBind
(
BindBean
bindBean
)
{
Assert
.
notNull
(
bindBean
.
getId
(),
"id can not be null"
);
Map
<
String
,
Object
>
map
=
this
.
userTvOperationService
.
checkBind
(
bindBean
);
return
ResultInfo
.
success
();
return
ResultInfo
.
success
(
map
);
}
/**
...
...
member-service-impl/src/main/java/com/topdraw/business/process/service/impl/UserOperationServiceImpl.java
View file @
2ae7fe6
...
...
@@ -1245,6 +1245,12 @@ public class UserOperationServiceImpl implements UserOperationService {
if
(
Objects
.
nonNull
(
userWeixinDTO
.
getId
()))
{
Long
memberId
=
userWeixinDTO
.
getMemberId
();
MemberDTO
memberDTO
=
this
.
memberService
.
findById
(
memberId
);
if
(
Objects
.
isNull
(
memberDTO
.
getId
()))
{
log
.
error
(
"param => UserTv id ==> [{}]"
,
id
);
throw
new
EntityNotFoundException
(
MemberDTO
.
class
,
"id"
,
"小程序账户对应的会员不存在"
);
}
Long
userIptvId
=
memberDTO
.
getUserIptvId
();
if
(
Objects
.
nonNull
(
userIptvId
))
{
map
.
put
(
"isBind"
,
1
);
...
...
Please
register
or
sign in
to post a comment