- 博客(4)
- 收藏
- 关注
原创 Springsecurity简单使用
目录Spring Security介绍Spring Security 简单应用1 创建Security配置类1.1 重写configure(AuthenticationManagerBuilder auth)方法1.2 重写加密PasswordEncoder passwordEncoder()1.3 生成token1.4重写configure(HttpSecurity http)1.4.1路径权限访问设置2 创建MyUserDetailsService类重写loadUserByUsername(Strin
2021-10-16 16:38:54 414
原创 MyBatis-plus代码生成器使用
MyBatis-plus使用前言1 代码生成器简单使用1.1 添加依赖(3.5.1以下版本)1.2 创建工具类CodeGenerator前言MyBatis-Plus (opens new window)(简称 MP)是一个 MyBatis (opens new window)的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。1 代码生成器简单使用写各个模块很麻烦,要关联的数据库的表很多,很麻烦,很耗时间,这时我们想偷懒一下,有什么办法能快速生成这些文件呢?有。使用m
2021-10-02 14:41:24 413
原创 springboot学习笔记
springboot学习笔记(一)## springboot学习(一)springboot学习笔记(一)springboot快速入门创建maven工程还需导入web依赖,进行集成springMVC进行Controller开发创建springboot引导类编写Controller控制类spring boot工程 进行热部署springboot快速入门创建maven工程使用idea创建maven工程pom.xml中添加springboot起步依赖spring-boot-starter-parent
2021-10-02 14:10:09 405
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人