自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 springboot整合rediscluster集群

springboot整合rediscluster集群pom依赖<!--redis连接池 start--><dependency><groupId>org.apache.commons</groupId><artifactId>commons-pool2</artifactId></dependency>...

2020-04-08 20:38:40 662

原创 springboot配置虚拟路径以访问本地图片

springboot配置虚拟路径 以访问本地图片我成功实现的方式是这样import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;import org.springfra...

2020-04-06 13:46:40 1280 1

原创 thymeleaf 和pagehelper整合分页

自己写的thymeleaf 和pagehelper整合分页 第一次用thymeleaf也参考了一些博客controller层@RequestMapping("/searchmenu") public String searchMenu(SearchVo searchVo,Integer pageNum, Integer pageSize,Model model){ //...

2020-03-23 13:09:53 977

原创 分页的时候pageSize没有效果

自己设置的pagesize有时候没有效果 是由于导入的pagehelper依赖原因springboot项目用<!-- mybatis的分页助手 springboot项目用这个 --><dependency><groupId>com.github.pagehelper</groupId><artifactId>pagehelp...

2020-03-23 13:03:09 1270

原创 用thymeleaf实现select标签回显

用thymeleaf实现select标签回显这里主要是th:field="*{searchvo.menuType}" searchvo是一个类 menuType是他的属性而非后台传来的model<select name="menuType" id="typeid" class=" form-control"><option value="1" th:field="*{se...

2020-03-22 20:56:39 530

原创 thymeleaf+html 表单中select标签把已经选中的option得值项传回后台

thymeleaf+html 表单中select标签把已经选中的option得值项传回后台这里写自定义目录标题下面展示一些 内联代码片。<div class="form-group"><label >请选择包厢</label><select class="form-control" name="bid" value="bid"><op...

2020-03-20 20:34:59 1946

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除