浏览代码

2020/3/23

EDZ 4 年之前
父节点
当前提交
9dda8fa3a3
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      code/auto/app/src/main/java/com/jzdsh/auto/app/AdminRoutes.java

+ 6 - 4
code/auto/app/src/main/java/com/jzdsh/auto/app/AdminRoutes.java

@@ -8,11 +8,13 @@ import com.jzdsh.auto.app.interceptor.PjaxInterceptor;
 public class AdminRoutes extends Routes {
     @Override
     public void config() {
-        setBaseViewPath("/_view/_admin");
+        setBaseViewPath("/src/main/webapp");
 
-        addInterceptor(new PjaxInterceptor());
-        addInterceptor(new AdminAuthInterceptor());
+        add("/admin", AdminIndexController.class,"index");
+
+
+       // addInterceptor(new PjaxInterceptor());
+     //  addInterceptor(new AdminAuthInterceptor());
 
-        add("/admin", AdminIndexController.class,"/index");
     }
 }