Loading

随笔分类 -  Spring

摘要:SpringBoot文件上传 1.单文件上传 FileUploadController.java package com.zhuantai.fileupload.controller; import org.springframework.web.bind.annotation.PostMappin 阅读全文
posted @ 2021-08-02 23:14 ANTIA11 阅读(99) 评论(0) 推荐(0)
摘要:CommandLineRunner 系统启动任务 1.CommandLineRunner MyCommandLineRunner.java package com.zhuantai.commandlinerunner; import org.springframework.boot.CommandL 阅读全文
posted @ 2021-08-02 23:00 ANTIA11 阅读(153) 评论(0) 推荐(0)
摘要:SpringSecurity 动态配置权限 gitee源码:https://gitee.com/antia11/spring-security-demos/tree/master/security-dynamic 1.搭建一个简单 SpringSecurity 环境 secruity.sql /* 阅读全文
posted @ 2021-08-02 22:58 ANTIA11 阅读(544) 评论(0) 推荐(0)
摘要:引入SpringSecurity对已有项目进行权限控制 1.引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </de 阅读全文
posted @ 2021-08-02 22:57 ANTIA11 阅读(236) 评论(0) 推荐(0)
摘要:如何优化网站性能 1.本地缓存 Caffeine <dependency> <groupId>com.github.ben-manes.caffeine</groupId> <artifactId>caffeine</artifactId> <version>2.7.0</version> </de 阅读全文
posted @ 2021-08-02 22:56 ANTIA11 阅读(135) 评论(0) 推荐(0)
摘要:人力资源管理系统 一、登录细节整理 前端 Login.vue <template> <div> <el-form :rules="rules" ref="loginForm" :model="loginForm" class="loginContainer"> <h3 class="loginTit 阅读全文
posted @ 2021-08-02 22:55 ANTIA11 阅读(923) 评论(0) 推荐(0)
摘要:笔记整理来自 B站UP主 狂神说:https://www.bilibili.com/video/BV1jJ411S7xr 笔记源代码:https://gitee.com/antia11/MyStudy/tree/master/Java/springcloud 1、文章大纲 Spring Cloud 阅读全文
posted @ 2021-02-01 16:05 ANTIA11 阅读(292) 评论(0) 推荐(0)
摘要:本笔记整理自 B站UP主 狂神说:https://www.bilibili.com/video/BV1PE411i7CV 相关代码:https://gitee.com/antia11/MyStudy/tree/master/Java/SpringBoot-Study 1、SpringBoot简介 1 阅读全文
posted @ 2021-01-31 16:10 ANTIA11 阅读(348) 评论(0) 推荐(0)
摘要:笔记整理自 B站UP主 狂神说 : https://www.bilibili.com/video/BV1aE41167Tu 笔记源码地址: https://gitee.com/antia11/MyStudy/tree/master/Java/SpringMVC-Study 1、什么是MVC MVC是 阅读全文
posted @ 2021-01-30 16:08 ANTIA11 阅读(68) 评论(0) 推荐(0)
摘要:笔记整理来源于 B站UP主 狂神说 https://www.bilibili.com/video/BV1WE411d7Dv 笔记源码:https://gitee.com/antia11/MyStudy/tree/master/Java/Spring-Study 1、概述及IOC理论推导 1.1、概述 阅读全文
posted @ 2021-01-30 15:02 ANTIA11 阅读(146) 评论(0) 推荐(0)