![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
boot
金箍一梦何来愁
远方的姑娘再见
展开
-
springboot测试
package com.xinghe.xbx.auto.chains.controller;import org.apache.shiro.web.servlet.SimpleCookie;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation...原创 2018-05-10 11:12:23 · 125 阅读 · 0 评论 -
使用临时的JDk来启动项目
JDK1.8springbootexport JAVA_HOME=/usr/java/jdk1.8.0_172PATH=$JAVA_HOME/bin:$PATHjava -server -jar /opt/deploy-web/mybitauto-admin/mybitauto-admin.jar原创 2018-06-04 19:48:06 · 661 阅读 · 0 评论 -
Springboot shiro时静态资源 anon
springboot会将static中的静态资源做为classes文件夹下面的的内容在web服务器发布, 那如何放行静态资源, 同时可以拦截/**请求呢;我的操作不走是添加一个伪statics今天资源的路径; 然后在shiro的config里面添加 filterChainDefinitionMap.put("/statics/**", "anon"); ...原创 2018-09-25 11:52:26 · 2428 阅读 · 0 评论