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

浙公网安备 33010602011771号