// LinkedHashMap有序Map LinkedHashMap<String, String> permsMap = new LinkedHashMap<>(); // 登陸放行 permsMap.put("/login", "anon"); permsMap.put("/WEB-INF/views/login/**", "anon"); // 靜態資源放行 permsMap.put("*.js", "anon"); permsMap.put("*.css", "anon"); permsMap.put("/css/**", "anon"); permsMap.put("/js/**", "anon"); permsMap.put("/easyui/**", "anon"); permsMap.put("/images/**", "anon");