Authored by qinchao

todashboard不要权限

1 package com.ui.ctrl; 1 package com.ui.ctrl;
2 2
3 3
4 -import com.ui.User.MD5Util;  
5 -import com.ui.User.UserAuthLocal;  
6 -import com.ui.http.HttpRestClient;  
7 -import com.ui.model.req.User;  
8 -import org.slf4j.Logger;  
9 -import org.slf4j.LoggerFactory;  
10 -import org.springframework.beans.factory.annotation.Autowired;  
11 import org.springframework.stereotype.Controller; 4 import org.springframework.stereotype.Controller;
12 -import org.springframework.ui.Model;  
13 import org.springframework.web.bind.annotation.RequestMapping; 5 import org.springframework.web.bind.annotation.RequestMapping;
14 import org.springframework.web.servlet.ModelAndView; 6 import org.springframework.web.servlet.ModelAndView;
15 7
16 -import javax.servlet.http.HttpSession;  
17 -  
18 @Controller 8 @Controller
19 @RequestMapping("dashboard") 9 @RequestMapping("dashboard")
20 public class DashboardCtrl { 10 public class DashboardCtrl {
@@ -91,6 +91,7 @@ @@ -91,6 +91,7 @@
91 <mvc:exclude-mapping path="/workSystem/callbackTest" /> 91 <mvc:exclude-mapping path="/workSystem/callbackTest" />
92 <mvc:exclude-mapping path="/cmdb/api" /> 92 <mvc:exclude-mapping path="/cmdb/api" />
93 <mvc:exclude-mapping path="/outer/*" /> 93 <mvc:exclude-mapping path="/outer/*" />
  94 + <mvc:exclude-mapping path="/dashboard/toDashboard" />
94 <bean class="com.ui.interceptor.AuthInterceptor"/> 95 <bean class="com.ui.interceptor.AuthInterceptor"/>
95 </mvc:interceptor> 96 </mvc:interceptor>
96 97