Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
7 years ago
Commit
9356d9e48e6f706f9222647bd9d596b6d2d43fec
1 parent
da288b18
todashboard不要权限
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
10 deletions
monitor-ui-ctrl/src/main/java/com/ui/ctrl/DashboardCtrl.java
monitor-ui-web/src/main/resources/META-INF/spring/spring-web-context.xml
monitor-ui-ctrl/src/main/java/com/ui/ctrl/DashboardCtrl.java
View file @
9356d9e
package
com
.
ui
.
ctrl
;
import
com.ui.User.MD5Util
;
import
com.ui.User.UserAuthLocal
;
import
com.ui.http.HttpRestClient
;
import
com.ui.model.req.User
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.Model
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.servlet.ModelAndView
;
import
javax.servlet.http.HttpSession
;
@Controller
@RequestMapping
(
"dashboard"
)
public
class
DashboardCtrl
{
...
...
monitor-ui-web/src/main/resources/META-INF/spring/spring-web-context.xml
View file @
9356d9e
...
...
@@ -91,6 +91,7 @@
<mvc:exclude-mapping
path=
"/workSystem/callbackTest"
/>
<mvc:exclude-mapping
path=
"/cmdb/api"
/>
<mvc:exclude-mapping
path=
"/outer/*"
/>
<mvc:exclude-mapping
path=
"/dashboard/toDashboard"
/>
<bean
class=
"com.ui.interceptor.AuthInterceptor"
/>
</mvc:interceptor>
...
...
Please
register
or
login
to post a comment