会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Caesar_the_great
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
11
下一页
2024年1月29日
Java基于minio的视频下载
摘要: 1、前端代码(Vue) downloadFile(row) { downloadVideo(row, this.form).then((resp) => { const data = resp.data; if (data.data) { let path = data.data.url; wind
阅读全文
posted @ 2024-01-29 18:16 Caesar_the_great
阅读(325)
评论(0)
推荐(0)
2023年9月7日
@RequestBody前后端传递多个参数
摘要: 1、前端写法 export const insertOrUpdateVideo = (row, param) => { return request({ url: '/api/video-video/insertOrUpdateVideo', method: 'post', data: { uplo
阅读全文
posted @ 2023-09-07 18:12 Caesar_the_great
阅读(317)
评论(0)
推荐(0)
2023年3月30日
idea 常用快捷键总结
摘要: 1、自动生成局部变量 way1:(推荐)在代码后面写 .var,然后敲回车 way2:选中当前代码行,ctl + alt + v 结果: 2、查看当前类的方法列表 way1:(推荐)点击idea左下角的tab way2:alt + 7 结果:
阅读全文
posted @ 2023-03-30 17:48 Caesar_the_great
阅读(339)
评论(0)
推荐(0)
2023年2月23日
springboot集成flume实现多系统日志收集
摘要: 本次demo实现的功能:使用flume框架收集目标工程的日志信息,并发送到kafka,最终完成kafka的消费 1、配置工程 配置logback: <!-- 此处为flume日志采集的配置 --> <appender name="flumeTest" class="com.teambytes.log
阅读全文
posted @ 2023-02-23 18:28 Caesar_the_great
阅读(789)
评论(0)
推荐(0)
2023年1月29日
springboot文件读取
摘要: 1、读取本工程下的文件 @Autowired private ResourceLoader resourceLoader; Resource resource = resourceLoader.getResource("classpath:\\file\\二标段.xlsx"); EasyExcelF
阅读全文
posted @ 2023-01-29 11:19 Caesar_the_great
阅读(986)
评论(0)
推荐(0)
Java与opc通信之三 - s7协议(s7connector)
摘要: 1、引入依赖 <dependency> <groupId>com.github.s7connector</groupId> <artifactId>s7connector</artifactId> <version>2.1</version> </dependency> 2、获取S7Connecto
阅读全文
posted @ 2023-01-29 10:45 Caesar_the_great
阅读(2178)
评论(0)
推荐(0)
Java与opc通信之二 - s7协议(HslCommunication)
摘要: 1、引入依赖 <dependency> <groupId>com.github.dathlin</groupId> <artifactId>HslCommunication</artifactId> <version>3.1.1</version> </dependency> 2、使用Siemens
阅读全文
posted @ 2023-01-29 10:37 Caesar_the_great
阅读(1609)
评论(0)
推荐(0)
Java与opc通信之一 - opc ua(milo)
摘要: 这篇文章介绍如何使用opc ua的方式,访问opc数据。 1、引入依赖 <!-- milo连接opc --> <dependency> <groupId>org.eclipse.milo</groupId> <artifactId>sdk-client</artifactId> <version>0
阅读全文
posted @ 2023-01-29 10:28 Caesar_the_great
阅读(5220)
评论(0)
推荐(1)
2023年1月27日
Java使用okhttp与WebAPI通信
摘要: 1、引入依赖 <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>4.10.0</version> </dependency> 2、GET请求 /** * 通过ht
阅读全文
posted @ 2023-01-27 19:09 Caesar_the_great
阅读(183)
评论(0)
推荐(0)
Java与Modbus通信
摘要: 1、引入依赖 <dependency> <groupId>com.intelligt.modbus</groupId> <artifactId>jlibmodbus</artifactId> <!-- 版本号可依照maven仓库迭代升级 --> <version>1.2.9.7</version>
阅读全文
posted @ 2023-01-27 19:03 Caesar_the_great
阅读(577)
评论(0)
推荐(0)
1
2
3
4
5
···
11
下一页
公告