Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
16415dba
Commit
16415dba
authored
Apr 21, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0c53ba5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+1
-1
HaoBanErrCode.java
...java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
+1
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
16415dba
...
@@ -271,7 +271,7 @@ public class ClerkController extends WebBaseController{
...
@@ -271,7 +271,7 @@ public class ClerkController extends WebBaseController{
return
resultResponse
(
HaoBanErrCode
.
ERR_10004
);
return
resultResponse
(
HaoBanErrCode
.
ERR_10004
);
}
}
if
(
StringUtils
.
isBlank
(
phoneNumber
)){
if
(
StringUtils
.
isBlank
(
phoneNumber
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_1001
2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1001
4
);
}
}
if
(!
GooglePhoneNumberUtil
.
checkPhoneNumber
(
phoneNumber
,
nationcode
)){
if
(!
GooglePhoneNumberUtil
.
checkPhoneNumber
(
phoneNumber
,
nationcode
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_10012
);
return
resultResponse
(
HaoBanErrCode
.
ERR_10012
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
View file @
16415dba
...
@@ -196,6 +196,7 @@ public enum HaoBanErrCode {
...
@@ -196,6 +196,7 @@ public enum HaoBanErrCode {
ERR_10011
(
10011
,
"每月最多可刷新4次"
),
ERR_10011
(
10011
,
"每月最多可刷新4次"
),
ERR_10012
(
10012
,
"手机号格式不正确"
),
ERR_10012
(
10012
,
"手机号格式不正确"
),
ERR_10013
(
10013
,
"code已经存在"
),
ERR_10013
(
10013
,
"code已经存在"
),
ERR_10014
(
10014
,
"请输入手机号"
),
ERR_999
(
999
,
"操作失败"
),
ERR_999
(
999
,
"操作失败"
),
...
...
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