Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
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
李伟
cust-api
Commits
b79a006a
Commit
b79a006a
authored
Feb 27, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
互换微信前,增加了微信号的校验
parent
9b84270b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MemInfoServiceImpl.java
...oft/business/memInfo/service/impl/MemInfoServiceImpl.java
+2
-2
No files found.
src/main/java/org/rcisoft/business/memInfo/service/impl/MemInfoServiceImpl.java
View file @
b79a006a
...
...
@@ -877,10 +877,10 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
Integer
targetId
=
memUserTaskDTO
.
getTargetId
();
UserInfoVO
targetInfo
=
memInfoRepository
.
getUserInfo
(
String
.
valueOf
(
targetId
));
MemInfo
memInfo
=
memInfoRepository
.
selectByOpenId
(
memUserTaskDTO
.
getWxOpenid
());
if
(
StringUtils
.
is
Not
Empty
(
targetInfo
.
getMemWxCode
())){
if
(
StringUtils
.
isEmpty
(
targetInfo
.
getMemWxCode
())){
throw
new
CyServiceException
(
1005
,
"对方还未填写微信号,不能交换"
);
}
if
(
StringUtils
.
is
Not
Empty
(
memInfo
.
getMemWxCode
())){
if
(
StringUtils
.
isEmpty
(
memInfo
.
getMemWxCode
())){
throw
new
CyServiceException
(
1006
,
"还未完善个人微信号,不能交换"
);
}
Integer
createBy
=
Integer
.
valueOf
(
CyUserUtil
.
getAuthenBusinessId
());
...
...
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