会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huatian007
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
2022年5月11日
请求重放
摘要: 参考:https://blog.csdn.net/qq_27243343/article/details/116984239 学术上的解释是这样的: 重放攻击(英语:replay attack,或称为回放攻击)是一种恶意或欺诈的重复或延迟有效数据的网络攻击形式。 这可以由发起者或由拦截数据并重新传输
阅读全文
posted @ 2022-05-11 17:06 花田007
阅读(235)
评论(0)
推荐(0)
2022年5月5日
java注解和反射(反射:第一部分)
摘要: /** * 获取class类实例的方式 */public class Test04 { public static void main(String[] args) throws ClassNotFoundException { Persion persion = new Teacher(); Pe
阅读全文
posted @ 2022-05-05 16:13 花田007
阅读(35)
评论(0)
推荐(0)
java注解和反射(注解)
摘要: 自我理解,注解的参数: 数组类型传一个参数和多个参数时: 代码如下: //测试自定义注解public class Test03 { //注解可以显示赋值,如果没有默认值就必须给注解赋值。 //参数是无序的 @MyAnnotition2(age=18, name="花田") public void d
阅读全文
posted @ 2022-05-05 14:12 花田007
阅读(25)
评论(0)
推荐(0)
IO流
摘要: 流的概念 流是一个抽象、动态的概念,是一连串连续动态的数据集合。 对于输入流而言,数据源就像水箱,流(stream)就像水管中流动着的水流,程序就是我们最终的用户。我们通过流(A Stream)将数据源(Source)中的数据(information)输送到程序(Program)中。 对于输出流而言
阅读全文
posted @ 2022-05-05 10:32 花田007
阅读(53)
评论(0)
推荐(0)
2022年5月4日
文件下载-若依
摘要: 创建upload表(bookid为关联的业务表主键) html代码 <!DOCTYPE html><html lang="zh"><head> <th:block th:include="include :: header('文件上传')" /> <th:block th:include="incl
阅读全文
posted @ 2022-05-04 10:45 花田007
阅读(792)
评论(0)
推荐(0)
2022年5月3日
按钮权限管理-若依
摘要: 按钮如下图: 菜单管理中: 对应的controller层代码: html页面代码 注意:A、在controller层中添加注解后,访问这个接口会检查该用户是否拥有权限,如果不拥有,则直接提示无权限,不会执行接口代码。 B、html层使用的权限只是用来判断是否显示该按钮。 数据中的按钮显示和隐藏
阅读全文
posted @ 2022-05-03 16:02 花田007
阅读(1330)
评论(0)
推荐(0)
idea取消自动保存
摘要:
阅读全文
posted @ 2022-05-03 10:17 花田007
阅读(314)
评论(0)
推荐(0)
2022年5月2日
Thymeleaf - ${…}
摘要: @GetMapping("/upload/{id}")public String uploadFile(@PathVariable("id") String id, ModelMap modelMap, HttpServletRequest request, HttpSession session)
阅读全文
posted @ 2022-05-02 23:12 花田007
阅读(54)
评论(0)
推荐(0)
Thymeleaf -中文文档
摘要: 转自:https://fanlychie.github.io/post/thymeleaf.html
阅读全文
posted @ 2022-05-02 23:06 花田007
阅读(54)
评论(0)
推荐(0)
若依数据权限
摘要: 1.在serviceImpl的方法上面添加注解(注意:这里d和u是部门表和人员表的昵称,要和mapper.xml的sql保持一致;使用时如果用部门加部门,同用户加用户) 2.mapper.xml层,添加 ${params.dataScope}; 注意: 一定要添加到where条件里面,并且查询的数据
阅读全文
posted @ 2022-05-02 11:05 花田007
阅读(599)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
公告