springboot-data整合redis 后端 1. 导入相关依赖 <!--整合redis--> <dependency> <groupId>org.springframework.boot</groupId> <arti
springboot邮件服务 后端 1.导入相关依赖<!--邮件服务--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-mail</artif
Shiro:整合swagger2时需要放行的资源 后端 filterMap.put("/swagger-ui.html", "anon"); filterMap.put("/swagger-resources/**", "anon");
Sawgger使用及配置 后端 导入相关依赖<!--swagger--><dependency><groupId>io.springfox</groupId><artifactId>springfox-swagger2</artifactId><vers
表单验证提交内容不能为空的几种方法 前端 方法一:使用css的required属性<inputtype=""required="required"name=""id=""value=""/>方法二:使用JS代码示例,注意事项:fo
Thymeleaf提取公共页面元素 后端 案例:分别为#1,#2页面添加共有头部common.html<!DOCTYPEhtml><htmllang="en"xmlns:th="http://www.thymeleaf.org"><!--页面共有头部--><h
Springsecurity4学习心得-2 后端 springboot使用2.0.9以下版本这里使用2.0.9作为案例:需要用到的maven地址:<!--security与thymeleaf整合--><dependency><groupId>org.thymeleaf.extras</groupId>