摘要: ssm 框架实现增删改查 SpringBoot 项目整合一、项目准备1.1 ssm 框架环境搭建1.2 项目结构图如下1.3 数据表结构图如下1.4 运行结果 二、项目实现1. EmployeeController 控制器2. IDepartmentService 接口3. DepartmentSe 阅读全文
posted @ 2021-06-22 21:43 Yan_Yang 阅读(583) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 项目搭建 SpringBoot 项目整合源码 SpringBoot 项目整合 一、项目准备 1.1 快速创建 SpringBoot 项目 1.2 标准项目结构图如下 1.3 添加springboot-parent 1.4 添加 spring-boot-start-web 1.5 阅读全文
posted @ 2021-06-22 21:05 Yan_Yang 阅读(2839) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 项目整合源码 SpringBoot 项目整合一、项目准备1.1 快速创建 SpringBoot 项目1.2 项目结构图如下1.3 数据表结构图如下1.4 运行结果 二、项目实现1. pom.xml 配置文件2. application.properties 配置文件3. APP 阅读全文
posted @ 2021-06-22 21:03 Yan_Yang 阅读(2238) 评论(0) 推荐(0) 编辑
摘要: 使用 IDEA 创建 SpringBoot 项目 一、SpringBoot 案例实现源码二、SpringBoot 相关配置1. 快速创建 SpringBoot 项目1.1 新建项目1.2 填写项目信息1.3 勾选web依赖包1.4 构建完成 2. springBoot标准项目结构3. springb 阅读全文
posted @ 2021-06-22 19:27 Yan_Yang 阅读(2804) 评论(0) 推荐(0) 编辑
摘要: 这里写目录标题 SpringBoot入门一、SpringBoot 概念二、JavaConfig 入门1. JavaConfig 概念2. 项目准备 三、常用注解四、SpringBoot 入门案例五、SpringBoot 入门案例分析问题1:web打包不应该是war,为什么是jar问题2:pom.xm 阅读全文
posted @ 2021-06-22 16:46 Yan_Yang 阅读(679) 评论(0) 推荐(0) 编辑
摘要: Spring 常用注解 内容一、基本概念1. Spring2. SpringMVC3. MyBatis 二、开发环境搭建1. 创建 maven 项目2. SSM整合2.1 项目结构图2.2 配置 pox.xml2.3 配置 log4j.properties2.4 配置 db.properties2. 阅读全文
posted @ 2021-06-19 17:40 Yan_Yang 阅读(998) 评论(0) 推荐(0) 编辑
摘要: Shiro 安全框架详解二 总结内容一、登录认证二、Shiro 授权1. 概念2. 授权流程图 三、基于 ini 的授权认证案例实现1. 实现原理图2. 实现代码2.1 添加 maven jar包依赖2.2 编写 ini 配置文件:shiro-authc.ini2.3 Shiro 常用 API 四、 阅读全文
posted @ 2021-06-18 16:40 Yan_Yang 阅读(295) 评论(0) 推荐(0) 编辑
摘要: shiro 安全框架详细教程 总结内容一、RBAC 的概念二、两种常用的权限管理框架1. Apache Shiro2. Spring Security3. Shiro 和 Spring Security 比较 三、Shiro 的概述1. shiro 作用2. shiro 架构 四、基于 ini 的认 阅读全文
posted @ 2021-06-16 22:54 Yan_Yang 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 使用 ssm 实现登录日志记录 学习总结一、基础准备1. 实现效果2. 数据表2.1 登陆日志信息表2.3 员工表 二、代码实现1. SysLogLogin 实体类2. LogAspect AOP切面类3. SysLogLoginMapper mapper接口4. SysLogLoginMapper 阅读全文
posted @ 2021-06-13 21:17 Yan_Yang 阅读(630) 评论(0) 推荐(0) 编辑
摘要: springMVC中获取request和response对象的几种方式 1.最简单方式:参数2.加入监听器,然后在代码里面获取 原文链接:https://blog.csdn.net/weixin_43052839/article/details/82426735 1.最简单方式:参数 @Reques 阅读全文
posted @ 2021-06-13 17:41 Yan_Yang 阅读(519) 评论(0) 推荐(0) 编辑