1 2 3 4 5 ··· 11 下一页
摘要: 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 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1、自动生成局部变量 way1:(推荐)在代码后面写 .var,然后敲回车 way2:选中当前代码行,ctl + alt + v 结果: 2、查看当前类的方法列表 way1:(推荐)点击idea左下角的tab way2:alt + 7 结果: 阅读全文
posted @ 2023-03-30 17:48 Caesar_the_great 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 本次demo实现的功能:使用flume框架收集目标工程的日志信息,并发送到kafka,最终完成kafka的消费 1、配置工程 配置logback: <!-- 此处为flume日志采集的配置 --> <appender name="flumeTest" class="com.teambytes.log 阅读全文
posted @ 2023-02-23 18:28 Caesar_the_great 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 1、读取本工程下的文件 @Autowired private ResourceLoader resourceLoader; Resource resource = resourceLoader.getResource("classpath:\\file\\二标段.xlsx"); EasyExcelF 阅读全文
posted @ 2023-01-29 11:19 Caesar_the_great 阅读(944) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1229) 评论(0) 推荐(0) 编辑
摘要: 这篇文章介绍如何使用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 阅读(3824) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(490) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 11 下一页