记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
00f2b58f
Commit
00f2b58f
authored
Jun 05, 2025
by
wangyifan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
douduo-bug修复
parent
9176068d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
SweetDoudouServiceImpl.java
...et/service/sweet/service/impl/SweetDoudouServiceImpl.java
+9
-0
errors.properties
...uidnet-service-sweet/src/main/resources/errors.properties
+1
-0
No files found.
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetDoudouServiceImpl.java
View file @
00f2b58f
...
...
@@ -100,6 +100,9 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
if
(
null
==
vo
)
{
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"90091"
));
}
if
(!
vo
.
getDoudouId
().
equals
(
param
.
getDoudouId
()))
{
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"90095"
));
}
// 判断状态
if
(
vo
.
getStatus
().
equals
(
1
))
{
...
...
@@ -133,6 +136,12 @@ public class SweetDoudouServiceImpl extends ServiceImpl<SweetDoudouMapper, Sweet
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20003"
));
}
SweetDouDouVo
vo
=
redisDataUtils
.
getSweetDouDou
(
param
.
getUserId
());
if
(
vo
==
null
)
{
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"90091"
));
}
if
(!
vo
.
getDoudouId
().
equals
(
param
.
getDoudouId
()))
{
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"90095"
));
}
return
ResponseDto
.
success
(
vo
);
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/resources/errors.properties
View file @
00f2b58f
...
...
@@ -9,3 +9,4 @@
90092
=
\u
672A
\u5230\u
89E3
\u9501\u
65F6
\u
95F4
90093
=
\u
60A8
\u
672A
\u
4E2D
\u
7B7E
90094
=
\u
5DF2
\u
88AB
\u6838\u9500
90095
=
\u
4E8C
\u
7EF4
\u7801\u
65E0
\u6548
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