谷歌二维码google zxing

首先,需要包google-zxing-core-3.2.1.jar,google-zxing-javase-3.2.1.jar 版本自定义 不支持就换个版本 效果    步骤:将logo.png缩放,画二维码,生成图片 工具类:    package co...

2022-12-10 283 阅读

HFSS入门学习(全波三维电磁仿真软件)

全波三维电磁仿真软件

2022-12-10 274 阅读

Python的打包神器——Nuitka

一. pyinstaller和Nuitka使用感受 1.1 使用需求 这次也是由于项目需要,要将python的代码转成exe的程序,在找了许久后,发现了2个都能对python项目打包的工具——pyintaller和nui...

2022-12-10 312 阅读

java [java学习]将内容以换行追加的方式写入文件

/** * 追加文件:使用FileOutputStream,在构造FileOutputStream时,把第二个参数设为true * * @param file 文件 * @param content 内容 */ public static void app...

2022-12-10 440 阅读

java java 按行读取_java按行读取文件

import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class TestReadFile {undefined public static vo...

2022-12-10 370 阅读

html页面引用axios使用,在普通html页面中使用axios问题

<!-- 引入axios --><script src="https://unpkg.com/axios/dist/axios.min.js"></script> getDataOrder: function (ordernos, appid) {let _this = this;// let Url ...

2022-12-10 784 阅读

jquery报错-Content type ‘application/x-www-form-urlencoded;charset=UTF-8‘ not supported

原因: 原因: 后端使用JSON格式解析接收数据,但前端提交数据时没有指定使用JSON格式提交,而默认的提交方式是application/x-www-form-urlencoded,此时后台用JSON格式解析前台的数据,即报...

2022-12-10 599 阅读

字符串转LocalDateTime

在使用DateTimeFormatter将字符串转成LocalDateTime时,“时”要用“HH”表示,不然转换报错 例(成功): LocalDateTime dateTime=LocalDateTime.parse("2021-01-02 10...

2022-12-10 520 阅读

spring spring boot中,使用LocalDateTime.now()相差八小时

解决方法:在启动类中加入代码: @SpringBootApplicationpublic class SwappingApplication { public static void main(String args) { SpringApplication.run(SwappingApplication...

2022-12-10 584 阅读

LocalDateTime获取服务器当前时间----24小时与12小时

24小时: String time = LocalDateTime.now().format(DateTimeFormatter.ofpattern("yyyy-MM-dd HH:mm:ss")12小时: String time = LocalDateTime.now().format(DateTimeFormatter.ofpattern...

2022-12-10 583 阅读