From 1eed180f9c2bf73130ddcab66d25e6a641660ff0 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 25 三月 2024 17:13:33 +0800 Subject: [PATCH] 合并代码 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java index 9b23d82..c7c01b3 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java @@ -263,10 +263,10 @@ return QRCodeUtils.decode(new File(path)); } - public static void main(String[] args) throws Exception { - String text = "http://www.baidu.com"; //这里设置自定义网站url - String logoPath = "C:\\Users\\admin\\Desktop\\test\\test.jpg"; - String destPath = "C:\\Users\\admin\\Desktop\\test\\"; - logger.debug(QRCodeUtils.encode(text, "test", logoPath, destPath, true)); - } +// public static void main(String[] args) throws Exception { +// String text = "http://www.baidu.com"; //这里设置自定义网站url +// String logoPath = "C:\\Users\\admin\\Desktop\\test\\test.jpg"; +// String destPath = "C:\\Users\\admin\\Desktop\\test\\"; +// logger.debug(QRCodeUtils.encode(text, "test", logoPath, destPath, true)); +// } } -- Gitblit v1.7.1