随笔分类 -  Spring系列

摘要:实现代码地址:https://gitee.com/suimenghao/springboot-shiro 阅读全文
posted @ 2020-08-17 17:53 SurpriseSui 阅读(108) 评论(0) 推荐(0)
摘要:完整代码链接:https://gitee.com/suimenghao/auth-client.git 这次搭建项目自己实现总结一个比较简单对登陆拦截代码中通过自定义元注解:默认所有都是true,true的话就会被拦截,需要校验验证如果controller或单个接口不想被拦截就在头部加入@Auth( 阅读全文
posted @ 2020-07-01 18:11 SurpriseSui 阅读(202) 评论(0) 推荐(0)
摘要:下面是我具体实现的 <!-- 阿里云OSS --> <dependency> <groupId>com.aliyun.oss</groupId> <artifactId>aliyun-sdk-oss</artifactId> <version>2.8.3</version> </dependency 阅读全文
posted @ 2020-01-13 14:59 SurpriseSui 阅读(2565) 评论(0) 推荐(0)
摘要:<dependency> <groupId>com.github.penggle</groupId> <artifactId>kaptcha</artifactId> <version>2.3.2</version> </dependency> 把kaptcha作为工程的一个类,加上@Configr 阅读全文
posted @ 2020-01-13 14:50 SurpriseSui 阅读(2062) 评论(0) 推荐(0)
摘要:此次随笔只是汇总其他博客相关Springboot注解,以方便我以后翻阅查找 @SpringBootApplication: 此注解是Spring boot的核心注解,也是启动类上的注解,这个注解等同于:@Cofiguration @EnableAutoConfiguration @Component 阅读全文
posted @ 2019-10-31 11:11 SurpriseSui 阅读(144) 评论(0) 推荐(0)