![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 73
palm down
这个作者很懒,什么都没留下…
展开
-
微服务组件之nacos
文章目录nacos服务端的安装![在这里插入图片描述](https://img-blog.csdnimg.cn/4dc687dbba25477589585c50fb948980.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBAcGFsbSBkb3du,size_20,color_FFFFFF,t_70,g_se,x_16)方式一、下载源码自己编译、安装方式二、下载编译好的源码,启动nacos服务端单机模原创 2022-04-14 21:49:09 · 796 阅读 · 0 评论 -
springcloud负载均衡之openfeign
文章目录springcloud openfeign概念:openfeign的使用openfeign文件传输springcloud openfeign官网地址https://spring.io/projects/spring-cloud-openfeign概念:openfeign是springcloud的通讯组件openfeign以http的形式调用rest接口,但openfeign的使用更像prcopenfeigin内部集成了ribbon,实现负载均衡openfeign的使用在服务原创 2022-04-11 11:13:51 · 1132 阅读 · 0 评论 -
elasitcsearch从安装到集成springboot
文章目录springboot集成elasitcsearch安装elasticsearch安装kibana配置ik分词器插件kinaba使用springboot 2.3.2集成es 6.7.2一、添加依赖二、配置三、java restapi操作esspringboot集成elasitcsearch安装elasticsearch下载地址:https://www.elastic.co/guide/en/elastic-stack/index.html下载之后直接解压到相应目录启动es bin目录下原创 2022-03-26 14:01:08 · 3092 阅读 · 0 评论 -
springboot基于RequestBodyAdvice和ResponseBodyAdvice实现请求和返回加解密
RequestBodyAdvice我们看下RequestBodyAdvice的源码/** * Allows customizing the request before its body is read and converted into an * Object and also allows for processing of the resulting Object before it is * passed into a controller method as an {@code .原创 2021-10-25 10:01:52 · 807 阅读 · 0 评论 -
mybatis-plus LocalTime查询不到数据
create table room_time_unit( id bigint unsigned auto_increment comment '主键' primary key, code int not null comment '时间段code', hour int not null comment '小时', step int原创 2021-05-13 16:13:36 · 1481 阅读 · 5 评论 -
springboot项目mybatis plus使用枚举字典
mybatis plus 枚举类型添加mybatis-plus依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>${mybatis.plus.versi原创 2021-04-06 10:08:57 · 1904 阅读 · 0 评论 -
springboot自动配置原理
启动类package com.liouwb.springbootdemo;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;/** * @author liouwb */@SpringBootApplicationpublic class SpringbootDemoApplication {原创 2020-11-11 20:35:39 · 125 阅读 · 2 评论 -
springboot集成mybatis-plus
官网https://baomidou.com/一、添加依赖 <!--mybatis-plus--> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus</artifactId> <version>3.4.0</version> </dependency> <depend.原创 2020-11-06 13:06:18 · 327 阅读 · 1 评论 -
springboot项目入门
springboot项目入门springboot概念Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”.官方网站:https://spring.io/projects/spring-boot构建项目方式一、在线构建项目构建springboot项目在线构建地址:https://start.spring.io原创 2020-11-05 12:45:36 · 121 阅读 · 0 评论 -
springboot集成knife4j(swagger2)
springboot集成knife4j(swagger2)一、在maven pom.xml文件中添加knife4j依赖方式一、添加knife4j-starter只需要添加一个即可 <!--knife4j--> <dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-spring-boot-starter</artifactId&原创 2020-11-04 09:22:42 · 1336 阅读 · 0 评论 -
springboot使用validator参数校验
pom.xml文件添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency>在请求实体类在校验绑定import io.swagger.annotations.ApiModelProperty;import原创 2020-11-03 17:57:09 · 513 阅读 · 0 评论