分类 知识总结 下的文章
知识摘要,知识总结,记下遇到的比较重要的知识SpringBoot 使用PageHelper进行分页(超简单!!!)
之前写过SSM使用PageHelper的博客,那时候还需要配个xml,写一堆,而今天使用了SpringBoot则只需要两步!1> 导入pom依赖<!-- PageHelper --> <dependency&g...
Java 使用 @Cacheable 返回值为null时候不缓存
我这里的使用场景是正常获取到对象就redis缓存如果程序出错就返回null,而null则不往redis里存方法:@Cacheable(unless = "#result == null") # unless 后面就...
小程序开发 mpvue 使用UI库 vant-weapp (博主亲测没毛病!!!)
1: 参考mpvue官方 五分钟快速上手教程 新建一个mpvue项目2: 下载 vant-weappgit clone https://github.com/youzan/vant-weapp.git 3: 复制dist文件夹里的所有...
Springboot 最简单整合 Swagger( 3.0 )
1. 导入依赖<!-- swagger --> <dependency> <groupId>io.springfox</groupId> <artifactId&g...
PageHelper 最简单使用实例
导入PageHelper 我这里是pom<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>...
最新回复