代码优化

This commit is contained in:
thinkgem
2025-08-08 13:48:30 +08:00
parent fc37b649b1
commit b797bb99d0
28 changed files with 342 additions and 423 deletions

View File

@@ -18,7 +18,7 @@ public class ZxingUtilsTest {
String baseDir = FileUtils.getProjectPath();
// 条形码
String imgPath = baseDir + "\\target\\zxing_EAN13.png";
String imgPath = baseDir + "/target/zxing_EAN13.png";
String contents = "6923450657713";
int width = 105, height = 50;
@@ -30,7 +30,7 @@ public class ZxingUtilsTest {
System.out.println("finished zxing EAN-13 decode.");
// 二维码
String imgPath2 = baseDir + "\\target\\zxing.png";
String imgPath2 = baseDir + "/target/zxing.png";
String contents2 = "Hello Gem, welcome to Zxing!\nEMail [ thinkgem@163.com ]";
int width2 = 300, height2 = 300;