Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c218cade
authored
Oct 27, 2020
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序返回错误信息提示
parent
8d30faf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/service/order/CommuneOrderService.java
src/main/java/com/ctrip/fun/golf/service/order/CommuneOrderService.java
View file @
c218cade
...
...
@@ -134,7 +134,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
throw
new
OrderException
(-
43
,
"您还不是社员!"
);
}
if
(
communeOrderBean
.
getAmount
().
compareTo
(
COMMUNE_AMOUNT2
)
==
0
){
throw
new
OrderException
(-
46
,
"您还不是
我们的社员,不能点击续费
!"
);
throw
new
OrderException
(-
46
,
"您还不是
社员
!"
);
}
}
if
((
userExt
.
getVipGrade
()
&
VipGradeEnum
.
VIP2
.
getKey
())
==
VipGradeEnum
.
VIP2
.
getKey
()
)
{
//老社员续费
...
...
@@ -142,7 +142,7 @@ public class CommuneOrderService extends AbstractOrderService<CommuneOrderBean,
throw
new
OrderException
(-
44
,
"您提交的入社年数超过了范围,请检查!"
);
}
if
(
communeOrderBean
.
getAmount
().
compareTo
(
COMMUNE_AMOUNT
)==
0
){
throw
new
OrderException
(-
45
,
"您已经是
爱玩公社社员了
"
);
throw
new
OrderException
(-
45
,
"您已经是
社员
"
);
}
}
...
...
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