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
9b03fbb7
Commit
9b03fbb7
authored
Feb 22, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加日志
parent
262a4a73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
ApplicationController.java
...c/haoban/manage/web/controller/ApplicationController.java
+1
-0
GlobalExceptionHandler.java
...c/haoban/manage/web/exception/GlobalExceptionHandler.java
+1
-1
WebInterceptor.java
...com/gic/haoban/manage/web/interceptor/WebInterceptor.java
+3
-3
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/ApplicationController.java
View file @
9b03fbb7
...
...
@@ -33,6 +33,7 @@ public class ApplicationController extends WebBaseController{
}
@RequestMapping
(
"get-auth-url"
)
@IgnoreLogin
public
HaobanResponse
getAuthUrl
(){
//String suiteId = GlobalVar.ctxPropertiesMap.get("suiteId");
String
suiteId
=
"ww7d6566614055cf27"
;
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/exception/GlobalExceptionHandler.java
View file @
9b03fbb7
...
...
@@ -21,7 +21,7 @@ import java.util.regex.Pattern;
*
* @author hua
*/
//
@ControllerAdvice
@ControllerAdvice
public
class
GlobalExceptionHandler
extends
WebBaseController
{
private
static
Logger
logger
=
LoggerFactory
.
getLogger
(
GlobalExceptionHandler
.
class
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/interceptor/WebInterceptor.java
View file @
9b03fbb7
...
...
@@ -65,11 +65,11 @@ public class WebInterceptor extends HandlerInterceptorAdapter {
}
LoginVO
loginUser
=
(
LoginVO
)
AuthRequestUtil
.
getSessionUser
();
/**
if (loginUser == null) {
if
(
loginUser
==
null
)
{
this
.
errorResult
(
httpServletResponse
,
HaoBanErrCode
.
ERR_4
);
logger
.
info
(
"用户不存在!"
);
return
tru
e;
}
**/
return
fals
e
;
}
HandlerMethod
method
=
null
;
if
(
o
instanceof
HandlerMethod
)
{
method
=
(
HandlerMethod
)
(
o
);
...
...
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