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
fe2751b2
Commit
fe2751b2
authored
Dec 27, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机号错误提示
parent
dd8ad89b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
LoginController.java
...com/gic/haoban/manage/web/controller/LoginController.java
+4
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/LoginController.java
View file @
fe2751b2
...
@@ -152,7 +152,7 @@ public class LoginController extends WebBaseController {
...
@@ -152,7 +152,7 @@ public class LoginController extends WebBaseController {
String
loginPhoneNumber
=
loginStaff
.
getPhoneNumber
();
String
loginPhoneNumber
=
loginStaff
.
getPhoneNumber
();
if
(
StringUtils
.
isBlank
(
loginPhoneNumber
))
{
if
(
StringUtils
.
isBlank
(
loginPhoneNumber
))
{
logger
.
info
(
"未配置手机号,staffId ={}"
,
loginStaff
.
getStaffId
());
logger
.
info
(
"未配置手机号,staffId ={}"
,
loginStaff
.
getStaffId
());
String
code
=
"
1
000"
;
String
code
=
"
3
000"
;
try
{
try
{
response
.
sendRedirect
(
host
+
"/haoban-3/#/gic-error?errorCode="
+
code
);
response
.
sendRedirect
(
host
+
"/haoban-3/#/gic-error?errorCode="
+
code
);
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
...
@@ -420,7 +420,9 @@ public class LoginController extends WebBaseController {
...
@@ -420,7 +420,9 @@ public class LoginController extends WebBaseController {
return
"企微应用未授权"
;
return
"企微应用未授权"
;
}
else
if
(
code
.
equals
(
"1006"
))
{
}
else
if
(
code
.
equals
(
"1006"
))
{
return
"账号已冻结,请联系管理员"
;
return
"账号已冻结,请联系管理员"
;
}
else
{
}
else
if
(
code
.
equals
(
"3000"
))
{
return
"成员未配置手机号"
;
}
else
{
return
"系统异常"
;
return
"系统异常"
;
}
}
}
}
...
...
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