Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
dbf41fde
Commit
dbf41fde
authored
Oct 09, 2021
by
伍思炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宽带下单时的多媒体账号校验规则修改2.0
parent
8fcd43be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
apply-net/src/main/java/com/winsun/controller/DankuanController.java
+6
-4
apply-net/src/main/java/com/winsun/controller/RongHeController.java
+6
-4
No files found.
apply-net/src/main/java/com/winsun/controller/DankuanController.java
View file @
dbf41fde
...
...
@@ -146,10 +146,12 @@ public class DankuanController {
if
(
StringUtils
.
isNotBlank
(
regularId
)){
Wrapper
<
Regular
>
wrapper
=
new
EntityWrapper
<>();
Regular
regular
=
regularMapper
.
selectById
(
regularId
);
String
orderCustomerAccounts
=
orderCustomerAccount
.
split
(
"@"
)[
0
];
Pattern
iphoneVerification
=
Pattern
.
compile
(
regular
.
getRegular
().
replace
(
"/"
,
""
));
if
(!
iphoneVerification
.
matcher
(
orderCustomerAccounts
).
matches
())
{
return
ResponseData
.
error
(
regular
.
getTips
());
if
(
StringUtils
.
isNotBlank
(
regular
.
getRegular
()))
{
String
orderCustomerAccounts
=
orderCustomerAccount
.
split
(
"@"
)[
0
];
Pattern
iphoneVerification
=
Pattern
.
compile
(
regular
.
getRegular
().
replace
(
"/"
,
""
));
if
(!
iphoneVerification
.
matcher
(
orderCustomerAccounts
).
matches
())
{
return
ResponseData
.
error
(
regular
.
getTips
());
}
}
}
}
else
{
...
...
apply-net/src/main/java/com/winsun/controller/RongHeController.java
View file @
dbf41fde
...
...
@@ -180,10 +180,12 @@ public class RongHeController {
if
(
StringUtils
.
isNotBlank
(
regularId
)){
Wrapper
<
Regular
>
wrapper
=
new
EntityWrapper
<>();
Regular
regular
=
regularMapper
.
selectById
(
regularId
);
String
orderCustomerAccounts
=
orderCustomerAccount
.
split
(
"@"
)[
0
];
Pattern
iphoneVerification
=
Pattern
.
compile
(
regular
.
getRegular
().
replace
(
"/"
,
""
));
if
(!
iphoneVerification
.
matcher
(
orderCustomerAccounts
).
matches
())
{
return
ResponseData
.
error
(
"账号格式错误"
);
if
(
StringUtils
.
isNotBlank
(
regular
.
getRegular
()))
{
String
orderCustomerAccounts
=
orderCustomerAccount
.
split
(
"@"
)[
0
];
Pattern
iphoneVerification
=
Pattern
.
compile
(
regular
.
getRegular
().
replace
(
"/"
,
""
));
if
(!
iphoneVerification
.
matcher
(
orderCustomerAccounts
).
matches
())
{
return
ResponseData
.
error
(
regular
.
getTips
());
}
}
}
}
else
{
...
...
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