![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
文章平均质量分 75
Riteny
这个作者很懒,什么都没留下…
展开
-
spring boot oauth2 支持不同登录类型 自定义token信息返回
近期在项目需求上需要用到不同的用户类型,并且不同的用户,check_token 返回的信息也需要不一样在这里例子发上来,希望能够帮到别人,同时也给自己留个记录首先,先添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</arti原创 2021-06-09 15:08:18 · 1153 阅读 · 0 评论 -
spring boot 使用代码配置 logback 并动态输出到不同文件
1.用于存放log的参数@Datapublic class CommonLogConfigEntity { private String baseDir; private Integer maxHistory; private String maxFileSize;}@Datapublic class CommonLogProperties { private static final String baseDir = "logs"; .原创 2020-11-05 15:05:53 · 408 阅读 · 0 评论 -
spring boot aop 拦截API request response
step1:pom相关依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> <version>2.2.5.RELEASE</version> </d.原创 2020-09-21 17:17:07 · 355 阅读 · 0 评论 -
Spring boot web 使用 Chrome 显示 RTSP协议的视频流
1.安装 chrome 插件 VXG Media Player插件可以在chrome的商城找到2.创建spring boot web 的项目其中需要使用到vxg media Player的插件,可以下载大佬的git 项目git clone https://github.com/VideoExpertsGroup/Chrome.RTSP.Player.git下载完成后进入项目根目录,使用"npm install"命令打包npm install npm run bu..原创 2020-08-07 20:41:20 · 1802 阅读 · 1 评论