springboot
文章平均质量分 53
weixin0605
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
学习笔记-websocket
学习笔记-websocket。原创 2023-03-23 21:39:57 · 268 阅读 · 0 评论 -
学习笔记-minio
minio 分布式文件存储系统 概念 Bucket 桶 Object 存储文件 Drive 磁盘 Set Drive集合 纠删码(EC) Erasure Code 保证高可靠性 安装 docker docker compose 部署 纠删码模式部署 分布式集群部署 客户端mc操作 mc config host ls 查看minio服务器名称与地址 mc config host add xxx http://xxx.xx.xx.xx:port user原创 2022-04-28 21:04:46 · 900 阅读 · 0 评论 -
学习笔记-springcloud简单入门(eureka&&zuul&&feign&&hystrix&&config)
父工程 pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifcatId>spring-boot-stater-parent</artifactId> <version>2.0.7.RELEASE</version> </parent> <dependencies> <depende原创 2021-11-25 20:50:56 · 683 阅读 · 0 评论 -
学习笔记-RBAC权限管理简单原理
RBAC role-Base Access Control 基于角色的访问控制 组成 User Role Permission 操作 对象 user-role映射 role-permission映射 安全原则 最小权限原则 责任分离原则 数据抽象原则 数据库 user id user_name password role id role_name user_role u_id r_id permission id permission_name原创 2021-10-31 14:40:49 · 196 阅读 · 0 评论 -
SpringSecurity前后端分离
pom文件 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</version> </parent> <dependencies&g原创 2021-09-05 22:12:18 · 242 阅读 · 0 评论 -
springboot学习笔记_08_任务
任务 异步任务 @RestController @RequestMapping("/async") public class AsyncController { @Autowired private AsyncService asyncService; @RequestMapping("/hello") public String hello(){ asyncService.hello(); return "ok"; } } @S原创 2021-02-01 22:41:49 · 137 阅读 · 0 评论 -
springboot学习笔记_07_swagger2
前后端分离 后端时代 前端只用静态页面 jsp,模板引擎等后端处理开发 前后端分离时代 前端 vue/react 工程化 前端控制层,视图层 伪造后端数据,无需后端也可直接运行 调用后端API接口,json格式交互 可以部署在不同的服务器 后端 后端控制层,服务层,数据访问层(controller,service,dao,entity) springboot+mybatis swagger显示API接口格式,postman工具测试 swagger 号称时间上最流行的A原创 2021-02-01 22:30:54 · 109 阅读 · 0 评论 -
springboot学习笔记_06_SpringSecurity
Spring Security 权限管理 功能权限 访问权限 菜单权限 替代 拦截器 过滤器 权限管理框架 spring security shiro <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency&g原创 2021-02-01 22:14:31 · 185 阅读 · 1 评论 -
springboot学习笔记_05_web开发
web开发 导入静态资源 webjars 不推荐 前后端分离 resources resources static public 优先级 resources 一般放上传的文件 static 静态资源、图片 public 公共使用的文件 # 自定义静态资源路径 # 会覆盖原有的默认路径 spring.mvc.static-path-pattern=/xxx/** 首页 index.html 默认 首页定制 //templates目录下的所有页面需原创 2021-02-01 22:08:54 · 208 阅读 · 0 评论 -
springboot学习笔记_04_配置文件
配置文件 application.properties key=value形式 application.yml ymal语法 多环境配置 多环境 application.properties application-test.properties application-dev.properties application-prod.properties 指定 第一种(配置文件中指定) spring.profiles.active=dev 第二种(运行时指定) java原创 2021-02-01 21:04:46 · 99 阅读 · 0 评论 -
springboot学习笔记_03_注解
注解 @Configuration 配置类 //配置类本身也是组件 //Configuration(proxyBeanMethods=true) //proxyBeanMethods:代理bean方法,默认为true @Configuration public class MyConfig{ //给容器添加组件,默认以方法名作为组件id,返回类型作为组件类型,返回值就是组件在容器中的实例 //默认单实例 @Bean("user") public User user(){原创 2021-01-31 22:01:53 · 150 阅读 · 0 评论 -
springboot学习笔记_02_依赖管理&&自动配置
依赖管理&&自动配置 依赖管理 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</version> </parent> <parent> <原创 2021-01-31 21:42:49 · 188 阅读 · 0 评论 -
springboot学习笔记_01_快速上手
SpringBoot HelloWorld项目 pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</version> </parent> <dependenci原创 2021-01-31 21:33:41 · 189 阅读 · 0 评论 -
其他-JavaWeb构建-springboot+mybatis+druid
pom.xml springboot mysql mybatis mybatis-generator log4j druid &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0"原创 2018-12-23 19:29:18 · 205 阅读 · 0 评论
分享