- 博客(5)
- 资源 (5)
- 收藏
- 关注
原创 SpringBoot使用shiro-ehcache缓存
由于网上教程很多,对于shiro的概念和用法已经讲解非常详细,这里直接给出介绍shiro概念的博主连接Shiro笔记(一)----Shiro安全框架简介以及写的不错的博客:springboot(十四):springboot整合shiro-登录认证和权限管理这里是本项目源码,已经上传github,感兴趣的小伙伴可以下载 : 去下载话不多说,先上pom文件:<?xml version="...
2019-05-09 17:26:11 4647 1
原创 JS获取url中的参数,并解决中文乱码问题
//获取url地址的参数 function getUrlParam(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); ...
2019-05-07 18:48:43 1414
原创 SpringBoot使用Thymeleaf填坑
使用了thymeleaf模板的jquery函数要尽量写在section里面,不然可能没有效果:<section> <script> //分页查询 getExamListByPage = function (currentPage) { var pageSize = $("#pageSize").val()...
2019-05-06 20:02:26 516
原创 RedisTemplate和StringRedisTemplate的使用
RedisTemplate和StringRedisTemplate的区别:两者的关系是StringRedisTemplate继承RedisTemplate。两者的数据是不共通的;也就是说StringRedisTemplate只能管理StringRedisTemplate里面的数据,RedisTemplate只能管理RedisTemplate中的数据。SDR(Spring Data Redi...
2019-05-06 15:35:06 1541
原创 获取n以内的质数
/** * 获取n以内的质数 */ public static void getPrimeMumber(int n) { for (int i = 1; i <= n; i++) { boolean flag = true; if (i != 1) { for (int j = 2; j < i; j++) { if (i % j == 0)...
2019-05-05 17:08:17 498
爬取简书文章.zip
2020-07-08
百度脑图---离散数学.km
2020-05-13
OCR文字识别.rar
2020-04-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人